Kaydet (Commit) 654fcd53 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Exercise DocTestSuite's search for __test__.

üst d1b78272
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment