github.com/developest/gtm-core@v1.0.4-0.20220111132249-cc80a3372c3f/test/helper.py (about)

     1  # Rewrite test
     2  
     3  old = []
     4  with open('./old.txt') as f:
     5      old = [line.rstrip() for line in f]
     6  new = []
     7  with open('./new.txt') as f:
     8      new = [line.rstrip() for line in f]
     9  
    10  total = [f"{a} {b}" for (a,b) in zip(old, new)]
    11  
    12  for commit in total:
    13      print(commit)