We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225bcef commit 65ed969Copy full SHA for 65ed969
tests/test_distanceprinter.py
@@ -49,4 +49,9 @@ def test_distanceprinter(monkeypatch):
49
# Remove stru file path when comparing as it may differ between machines
50
resultstr = resultstr.split("\n", 2)[2]
51
teststr = teststr.split("\n", 2)[2]
52
+
53
+ # Remove irrelevant whitespace when comparing
54
+ resultstr = "".join(resultstr.split())
55
+ teststr = "".join(teststr.split())
56
57
assert resultstr == teststr
0 commit comments