diff --git a/Lib/test/README b/Lib/test/README index 485095764ab..c8cca1ed914 100644 --- a/Lib/test/README +++ b/Lib/test/README @@ -78,7 +78,7 @@ example: test_main(1) If run via regrtest, test_main() is called (by regrtest) without specifying -verbose, and then test_supprot's idea of verbosity is used. But when +verbose, and then test_support's idea of verbosity is used. But when run directly, test_main(1) is called, and then doctest's idea of verbosity is used. diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 53e8ae76e6f..958acd36a74 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -183,8 +183,8 @@ def run_doctest(module, verbosity=None): """Run doctest on the given module. If optional argument verbosity is not specified (or is None), pass - test_support's belief about verbosity on to doctest. Else doctest - sys.argv for -v. + test_support's belief about verbosity on to doctest. Else doctest's + usual behavior is used (it searches sys.argv for -v). """ import doctest