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
|
# Issue 453, for the bug this would raise IndexError
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
def test_foo():
|
def test_foo():
|
||||||
assert u'\\n}' == u''
|
assert '\\n}' == ''
|
||||||
""")
|
""")
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
assert result.ret == 1
|
assert result.ret == 1
|
||||||
|
|
Loading…
Reference in New Issue