summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest2.txt
diff options
context:
space:
mode:
authorJim Fulton <jim@zope.com>2004-10-13 14:15:32 (GMT)
committerJim Fulton <jim@zope.com>2004-10-13 14:15:32 (GMT)
commit7d428788e156200df2f8e6421cad9fce083fd96b (patch)
tree64ee331217a5b783b97b63b020c2a31636e72fe2 /Lib/test/test_doctest2.txt
parent73cc8479f000bbb84d0775aea55fb9de75ec110e (diff)
downloadcpython-7d428788e156200df2f8e6421cad9fce083fd96b.zip
cpython-7d428788e156200df2f8e6421cad9fce083fd96b.tar.gz
cpython-7d428788e156200df2f8e6421cad9fce083fd96b.tar.bz2
Fixed a small bug. doctest didn't handle unicode docstrings containing
non-ascii characters.
Diffstat (limited to 'Lib/test/test_doctest2.txt')
-rw-r--r--Lib/test/test_doctest2.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_doctest2.txt b/Lib/test/test_doctest2.txt
index 0d7d1d5..2e14856 100644
--- a/Lib/test/test_doctest2.txt
+++ b/Lib/test/test_doctest2.txt
@@ -5,3 +5,10 @@ In this example, we'll rely on some silly setup:
>>> import test.test_doctest
>>> test.test_doctest.sillySetup
True
+
+This test also has some (random) encoded (utf-8) unicode text:
+
+ ЉЊЈЁЂ
+
+This doesn't cause a problem in the tect surrounding the examples, but
+we include it here (in this test text file) to make sure. :)