Fixed the tests for python 2.6

This commit is contained in:
Manuel Krebber 2016-11-30 14:19:07 +01:00
parent b7fb9fac91
commit f8fef07b4c
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ class TestDoctests:
doctest_encoding={0}
""".format(encoding))
doctest = u"""
>>> u"{}"
{}
>>> u"{0}"
{1}
""".format(test_string, repr(test_string))
testdir._makefile(".txt", [doctest], {}, encoding=encoding)