commit | eaa2c980ee0dab3f292b6a63f3d76257b3d0a019 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri Nov 23 00:06:51 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri Nov 23 00:06:51 2007 +0000 |
tree | 200c710e60f0a68172d0ca8ecec6a7c701af4f58 | |
parent | e8954f8ce7d60d5d926f29511cde99f2f3ea0630 [diff] |
Fix a bug in the test for using __loader__.get_data().
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 @@ provided. >>> import unittest, pkgutil, test + >>> added_loader = False >>> if not hasattr(test, '__loader__'): ... test.__loader__ = pkgutil.get_loader(test) ... added_loader = True