diff options
| author | Brett Cannon <bcannon@gmail.com> | 2007-11-23 00:07:49 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2007-11-23 00:07:49 (GMT) |
| commit | a95fdb4f9cd1a4eda4100b1b3b4afc5b275607a1 (patch) | |
| tree | f8ce939df2f4ea08c1511ca3410525b044f1a9a8 /Lib/test/test_doctest.py | |
| parent | ce189e4e7b96de538b2a1b9a60742bac32081bc4 (diff) | |
| download | cpython-a95fdb4f9cd1a4eda4100b1b3b4afc5b275607a1.zip cpython-a95fdb4f9cd1a4eda4100b1b3b4afc5b275607a1.tar.gz cpython-a95fdb4f9cd1a4eda4100b1b3b4afc5b275607a1.tar.bz2 | |
Backport of a fix for the __loader__.get_data() test.
Diffstat (limited to 'Lib/test/test_doctest.py')
| -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 c3d1bd8..cfee7ec 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 |
