summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sets.py
diff options
context:
space:
mode:
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)