Home
last modified time | relevance | path

Searched refs:addModuleCleanup (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_runner.py461 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 …]
Dtest_result.py1045 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__.py60 from .case import (addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip,
Dcase.py89 def addModuleCleanup(function, /, *args, **kwargs): function
/third_party/python/Lib/test/
Dtest_global.py59 unittest.addModuleCleanup(cm.__exit__, None, None, None)
Dtest_threadsignals.py241 unittest.addModuleCleanup(registerSignals, *oldsigs)
Dtest_pydoc.py1576 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
1577 unittest.addModuleCleanup(reap_children)
Dtest_poplib.py544 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_concurrent_futures.py1541 unittest.addModuleCleanup(multiprocessing.util._cleanup_tests)
1543 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_urllib2_localnet.py666 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_ftplib.py1150 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_xmlrpc.py1519 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_httpservers.py1355 unittest.addModuleCleanup(os.chdir, os.getcwd())
Dtest_logging.py5570 unittest.addModuleCleanup(cm.__exit__, None, None, None)
Dtest_ssl.py4909 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_socket.py6600 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
/third_party/python/Lib/test/test_importlib/
Dtest_threaded_import.py263 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
266 unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval)
Dtest_locks.py145 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
/third_party/python/Misc/NEWS.d/
D3.10.0rc2.rst225 * 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…
D3.8.0a1.rst3214 Add :func:`~unittest.addModuleCleanup()` and
/third_party/python/Doc/library/
Dunittest.rst2419 ``addModuleCleanup``:
2422 .. function:: addModuleCleanup(function, /, *args, **kwargs)
2428 :meth:`addModuleCleanup` when they are added.
/third_party/python/Doc/whatsnew/
D3.8.rst1365 Added :func:`~unittest.addModuleCleanup()` and