diff --git a/tests/test_20x20.py b/tests/test_20x20.py index 7b4290e..129a62e 100644 --- a/tests/test_20x20.py +++ b/tests/test_20x20.py @@ -8,7 +8,7 @@ # be pasted into the github action yml file and here. It should just be in the action # yml file and read here, with --onlyProcessing appended here. """ -import unittest +import unittest import os.path import datetime from cell2fire.utils.ParseInputs import make_parser @@ -75,7 +75,7 @@ def test_readme_cmd(self): with open(result_path) as result_file: with open(baseline_path) as baseline_file: for line1, line2 in zip(result_file, baseline_file): - if not line1 == line2: + if not line1.strip().rstrip(',') == line2.strip().rstrip(','): equal = False print("In File Grids1/ForestGrid08.csv the result is wrong")