Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_unittest/
Dtest_runner.py615 unittest.addModuleCleanup(module_cleanup1, 1, 2, 3,
617 unittest.addModuleCleanup(module_cleanup2)
639 unittest.addModuleCleanup(module_cleanup_good, 1, 2, 3,
641 unittest.addModuleCleanup(module_cleanup_bad)
657 unittest.addModuleCleanup(cleanup, 1, 2, function='hello')
659 unittest.addModuleCleanup(function=cleanup, arg='hello')
661 unittest.addModuleCleanup()
673 unittest.addModuleCleanup(cleanup, ordering)
713 unittest.addModuleCleanup(cleanup, ordering)
724 unittest.addModuleCleanup(cleanup, ordering)
[all …]
Dtest_result.py1273 unittest.addModuleCleanup(bad_cleanup1)
1274 unittest.addModuleCleanup(bad_cleanup2)
1303 unittest.addModuleCleanup(bad_cleanup1)
1304 unittest.addModuleCleanup(bad_cleanup2)
1342 unittest.addModuleCleanup(bad_cleanup1)
1343 unittest.addModuleCleanup(bad_cleanup2)
/external/python/cpython3/Lib/test/test_concurrent_futures/
Dutil.py148 unittest.addModuleCleanup(multiprocessing.util._cleanup_tests)
151 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
/external/python/cpython3/Lib/unittest/
D__init__.py57 from .case import (addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip,
Dcase.py122 def addModuleCleanup(function, /, *args, **kwargs): function
129 return _enter_context(cm, addModuleCleanup)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_threaded_import.py260 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
263 unittest.addModuleCleanup(sys.setswitchinterval, old_switchinterval)
Dtest_locks.py156 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
/external/python/cpython3/Lib/test/
Dtest_threadsignals.py233 unittest.addModuleCleanup(registerSignals, *oldsigs)
Dtest_poplib.py536 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_urllib2_localnet.py670 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_xml_etree.py4387 unittest.addModuleCleanup(cleanup)
4394 unittest.addModuleCleanup(nsmap.update, nsmap_copy)
4395 unittest.addModuleCleanup(nsmap.clear)
4399 unittest.addModuleCleanup(setattr, ElementPath, "_cache", path_cache)
4405 unittest.addModuleCleanup(ET._set_factories, *old_factories)
Dtest_ftplib.py1156 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_xmlrpc.py1536 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_httpservers.py1429 unittest.addModuleCleanup(os.chdir, os.getcwd())
Dtest_ssl.py5426 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
Dtest_socket.py7047 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
/external/python/cpython3/Lib/test/test_pydoc/
Dtest_pydoc.py2206 unittest.addModuleCleanup(threading_helper.threading_cleanup, *thread_info)
2207 unittest.addModuleCleanup(reap_children)
/external/python/cpython3/Doc/library/
Dunittest.rst2483 ``addModuleCleanup``:
2486 .. function:: addModuleCleanup(function, /, *args, **kwargs)
2492 :meth:`addModuleCleanup` when they are added.
2504 :func:`addModuleCleanup` and return the result of the
2516 :func:`addModuleCleanup`. If you need cleanup functions to be called
/external/python/cpython3/Misc/NEWS.d/
D3.11.0a1.rst1885 * Functions registered with :func:`~unittest.addModuleCleanup` were not called unless the user defi…
1887 …sult` did not work with functions registered with ``addClassCleanup()`` and ``addModuleCleanup()``.
1888 * Errors in functions registered with ``addClassCleanup()`` and ``addModuleCleanup()`` were not han…
1889 * Errors in ``setUpModule()`` and functions registered with ``addModuleCleanup()`` were reported in…
D3.8.0a1.rst3214 Add :func:`~unittest.addModuleCleanup` and
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1370 Added :func:`~unittest.addModuleCleanup` and