mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Deprecated passing the following arguments as keyword arguments: - "func" in functools.partialmethod(), weakref.finalize(), profile.Profile.runcall(), cProfile.Profile.runcall(), bdb.Bdb.runcall(), trace.Trace.runfunc() and curses.wrapper(). - "function" in unittest.addModuleCleanup() and unittest.TestCase.addCleanup(). - "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor and concurrent.futures.ProcessPoolExecutor. - "callback" in contextlib.ExitStack.callback(), contextlib.AsyncExitStack.callback() and contextlib.AsyncExitStack.push_async_callback(). - "c" and "typeid" in the create() method of multiprocessing.managers.Server and multiprocessing.managers.SharedMemoryServer. - "obj" in weakref.finalize(). Also allowed to pass arbitrary keyword arguments (even "self" and "func") if the above arguments are passed as positional argument. |
||
|---|---|---|
| .. | ||
| testmock | ||
| __init__.py | ||
| __main__.py | ||
| _test_warnings.py | ||
| dummy.py | ||
| support.py | ||
| test_assertions.py | ||
| test_break.py | ||
| test_case.py | ||
| test_discovery.py | ||
| test_functiontestcase.py | ||
| test_loader.py | ||
| test_program.py | ||
| test_result.py | ||
| test_runner.py | ||
| test_setups.py | ||
| test_skipping.py | ||
| test_suite.py | ||