fix test on Python 3.2
This commit is contained in:
parent
780bdda95a
commit
fd9055fd11
|
@ -206,7 +206,7 @@ class TestFormatExplanation:
|
|||
# Issue 453, for the bug this would raise IndexError
|
||||
testdir.makepyfile("""
|
||||
def test_foo():
|
||||
assert u'\\n}' == u''
|
||||
assert '\\n}' == ''
|
||||
""")
|
||||
result = testdir.runpytest()
|
||||
assert result.ret == 1
|
||||
|
|
Loading…
Reference in New Issue