Skip to content

Commit f8fef07

Browse files
author
Manuel Krebber
committed
Fixed the tests for python 2.6
1 parent b7fb9fa commit f8fef07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_doctest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def test_encoding(self, testdir, test_string, encoding):
145145
doctest_encoding={0}
146146
""".format(encoding))
147147
doctest = u"""
148-
>>> u"{}"
149-
{}
148+
>>> u"{0}"
149+
{1}
150150
""".format(test_string, repr(test_string))
151151
testdir._makefile(".txt", [doctest], {}, encoding=encoding)
152152

0 commit comments

Comments
 (0)