diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-11-23 00:06:51 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-11-23 00:06:51 (GMT) |
commit | eaa2c980ee0dab3f292b6a63f3d76257b3d0a019 (patch) | |
tree | 200c710e60f0a68172d0ca8ecec6a7c701af4f58 /Lib | |
parent | e8954f8ce7d60d5d926f29511cde99f2f3ea0630 (diff) | |
download | cpython-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.py | 1 |
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 |