mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
Exercise DocTestSuite's search for __test__.
This commit is contained in:
parent
d1b7827216
commit
654fcd531e
1 changed files with 2 additions and 2 deletions
|
|
@ -806,7 +806,7 @@ def test_cardinality_relations(self):
|
|||
__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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue