summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sets.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-07 06:15:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-07 06:15:12 (GMT)
commit654fcd531ecab07a7af971a299ee5c2b35d4fa96 (patch)
tree6cedc6fdfb02519127e3a51fd8b07537d65a5d21 /Lib/test/test_sets.py
parentd1b7827216f6b57b90fc6751e4b1c4d246e63631 (diff)
downloadcpython-654fcd531ecab07a7af971a299ee5c2b35d4fa96.zip
cpython-654fcd531ecab07a7af971a299ee5c2b35d4fa96.tar.gz
cpython-654fcd531ecab07a7af971a299ee5c2b35d4fa96.tar.bz2
Exercise DocTestSuite's search for __test__.
Diffstat (limited to 'Lib/test/test_sets.py')
-rw-r--r--Lib/test/test_sets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sets.py b/Lib/test/test_sets.py
index 4947e6b..c5a48b1 100644
--- a/Lib/test/test_sets.py
+++ b/Lib/test/test_sets.py
@@ -806,7 +806,7 @@ Set(['Jack', 'Jane', 'Janice', 'John', 'Marvin', 'Sam', 'Zack'])
__test__ = {'libreftest' : libreftest}
def test_main(verbose=None):
- from test import test_sets
+ import test_sets, doctest
test_support.run_unittest(
TestSetOfSets,
TestExceptionPropagation,
@@ -835,8 +835,8 @@ def test_main(verbose=None):
TestCopyingTuple,
TestCopyingNested,
TestIdentities,
+ doctest.DocTestSuite(test_sets),
)
- test_support.run_doctest(test_sets, verbose)
if __name__ == "__main__":
test_main(verbose=True)