summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-11-23 00:06:51 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-11-23 00:06:51 (GMT)
commiteaa2c980ee0dab3f292b6a63f3d76257b3d0a019 (patch)
tree200c710e60f0a68172d0ca8ecec6a7c701af4f58 /Lib
parente8954f8ce7d60d5d926f29511cde99f2f3ea0630 (diff)
downloadcpython-eaa2c980ee0dab3f292b6a63f3d76257b3d0a019.zip
cpython-eaa2c980ee0dab3f292b6a63f3d76257b3d0a019.tar.gz
cpython-eaa2c980ee0dab3f292b6a63f3d76257b3d0a019.tar.bz2
Fix a bug in the test for using __loader__.get_data().
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_doctest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
index f53a759..7c78d3f 100644
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -1912,6 +1912,7 @@ def test_DocFileSuite():
provided.
>>> import unittest, pkgutil, test
+ >>> added_loader = False
>>> if not hasattr(test, '__loader__'):
... test.__loader__ = pkgutil.get_loader(test)
... added_loader = True