mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
#2621 rename test.test_support to test.support
This commit is contained in:
parent
6a654814ea
commit
ee8712cda4
358 changed files with 1308 additions and 1307 deletions
|
|
@ -1885,8 +1885,8 @@ __test__ = {"tut": tutorial_tests,
|
|||
# Note that doctest and regrtest both look in sys.argv for a "-v" argument,
|
||||
# so this works as expected in both ways of running regrtest.
|
||||
def test_main(verbose=None):
|
||||
from test import test_support, test_generators
|
||||
test_support.run_doctest(test_generators, verbose)
|
||||
from test import support, test_generators
|
||||
support.run_doctest(test_generators, verbose)
|
||||
|
||||
# This part isn't needed for regrtest, but for running the test directly.
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue