mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
![]() Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.
load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
bytecode_helper.py | ||
hashlib_helper.py | ||
import_helper.py | ||
interpreters.py | ||
logging_helper.py | ||
os_helper.py | ||
script_helper.py | ||
socket_helper.py | ||
testresult.py | ||
threading_helper.py | ||
warnings_helper.py |