From f8fef07b4c1399ff84b41a3fa4d28d93cc578fc4 Mon Sep 17 00:00:00 2001 From: Manuel Krebber Date: Wed, 30 Nov 2016 14:19:07 +0100 Subject: [PATCH] Fixed the tests for python 2.6 --- testing/test_doctest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_doctest.py b/testing/test_doctest.py index 02f4c3b26..72ba0a622 100644 --- a/testing/test_doctest.py +++ b/testing/test_doctest.py @@ -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)