Skip to content

Commit

Permalink
Fixed the tests for python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Krebber committed Nov 30, 2016
1 parent b7fb9fa commit f8fef07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def test_encoding(self, testdir, test_string, encoding):
doctest_encoding={0}
""".format(encoding))
doctest = u"""
>>> u"{}"
{}
>>> u"{0}"
{1}
""".format(test_string, repr(test_string))
testdir._makefile(".txt", [doctest], {}, encoding=encoding)

Expand Down

0 comments on commit f8fef07

Please sign in to comment.