fix test on Python 3.2

This commit is contained in:
Benjamin Peterson 2014-05-31 14:51:05 -07:00
parent 780bdda95a
commit fd9055fd11
1 changed files with 1 additions and 1 deletions

View File

@ -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