Quote output of _assertEquals()
It's easier to detect trailing spaces this way.
This commit is contained in:
parent
4038d4b562
commit
a7377f180a
|
@ -490,8 +490,8 @@ class MatchCompiler:
|
|||
def _assertEquals(self, actual, expected):
|
||||
if actual != expected:
|
||||
print ('Assertion failed:')
|
||||
print (actual)
|
||||
print (expected)
|
||||
print ('"' + actual + '"')
|
||||
print ('"' + expected + '"')
|
||||
assert actual == expected
|
||||
|
||||
def _selftests(self):
|
||||
|
|
Loading…
Reference in New Issue