Searched refs:addModuleCleanup (Results 1 – 22 of 22) sorted by relevance
/third_party/python/Lib/unittest/test/ |
D | test_runner.py | 461 unittest.addModuleCleanup(module_cleanup1, 1, 2, 3, 463 unittest.addModuleCleanup(module_cleanup2) 485 unittest.addModuleCleanup(module_cleanup_good, 1, 2, 3, 487 unittest.addModuleCleanup(module_cleanup_bad) 503 unittest.addModuleCleanup(cleanup, 1, 2, function='hello') 505 unittest.addModuleCleanup(function=cleanup, arg='hello') 507 unittest.addModuleCleanup() 519 unittest.addModuleCleanup(cleanup, ordering) 559 unittest.addModuleCleanup(cleanup, ordering) 570 unittest.addModuleCleanup(cleanup, ordering) [all …]
|
D | test_result.py | 1045 unittest.addModuleCleanup(bad_cleanup1) 1046 unittest.addModuleCleanup(bad_cleanup2) 1075 unittest.addModuleCleanup(bad_cleanup1) 1076 unittest.addModuleCleanup(bad_cleanup2) 1114 unittest.addModuleCleanup(bad_cleanup1) 1115 unittest.addModuleCleanup(bad_cleanup2)
|
/third_party/python/Lib/unittest/ |
D | __init__.py | 60 from .case import (addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip,
|
D | case.py | 89 def addModuleCleanup(function, /, *args, **kwargs): function
|
/third_party/python/Lib/test/ |
D | test_global.py | 59 unittest.addModuleCleanup(cm.__exit__, None, None, None)
|
D | test_threadsignals.py | 241 unittest.addModuleCleanup(registerSignals, *oldsigs)
|
D | test_pydoc.py | 1576 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info) 1577 unittest.addModuleCleanup(reap_children)
|
D | test_poplib.py | 544 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_concurrent_futures.py | 1541 unittest.addModuleCleanup(multiprocessing.util._cleanup_tests) 1543 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_urllib2_localnet.py | 666 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_ftplib.py | 1150 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_xmlrpc.py | 1519 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_httpservers.py | 1355 unittest.addModuleCleanup(os.chdir, os.getcwd())
|
D | test_logging.py | 5570 unittest.addModuleCleanup(cm.__exit__, None, None, None)
|
D | test_ssl.py | 4909 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
D | test_socket.py | 6600 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
/third_party/python/Lib/test/test_importlib/ |
D | test_threaded_import.py | 263 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info) 266 unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval)
|
D | test_locks.py | 145 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0rc2.rst | 225 * Functions registered with :func:`~unittest.addModuleCleanup` were not called unless the user defi… 227 …sult` did not work with functions registered with ``addClassCleanup()`` and ``addModuleCleanup()``. 228 * Errors in functions registered with ``addClassCleanup()`` and ``addModuleCleanup()`` were not han… 229 * Errors in ``setUpModule()`` and functions registered with ``addModuleCleanup()`` were reported in…
|
D | 3.8.0a1.rst | 3214 Add :func:`~unittest.addModuleCleanup()` and
|
/third_party/python/Doc/library/ |
D | unittest.rst | 2419 ``addModuleCleanup``: 2422 .. function:: addModuleCleanup(function, /, *args, **kwargs) 2428 :meth:`addModuleCleanup` when they are added.
|
/third_party/python/Doc/whatsnew/ |
D | 3.8.rst | 1365 Added :func:`~unittest.addModuleCleanup()` and
|