cpython/Lib/unittest/test
Miss Islington (bot) e95ca78fab
[3.11] gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (GH-103228) (#103499)
Fixes unittest.mock.patch not enforcing function signatures for methods
decorated with @classmethod or @staticmethod when patch is called with
autospec=True.

(cherry picked from commit 59e0de4903)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
2023-05-22 12:47:12 +02:00
..
testmock [3.11] gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (GH-103228) (#103499) 2023-05-22 12:47:12 +02:00
__init__.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__main__.py
_test_warnings.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
dummy.py
support.py
test_assertions.py bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
test_async_case.py Add more details in test_unittest (GH-99626) 2022-11-21 04:23:09 -08:00
test_break.py bpo-46709: check eval breaker in specialized CALL opcodes (GH-31404) 2022-02-18 12:56:23 +00:00
test_case.py [3.11] gh-97837: Change deprecation warning message in unittest (GH-97838) (GH-97887) 2022-10-04 20:55:06 -07:00
test_discovery.py bpo-23882: unittest: Drop PEP 420 support from discovery. (GH-29745) 2022-01-10 10:38:33 +09:00
test_functiontestcase.py bpo-30856: Update TestResult early, without buffering in _Outcome (GH-28180) 2021-09-19 15:24:38 +03:00
test_loader.py Simplify testing the warning filename (GH-91868) 2022-04-24 10:23:59 +03:00
test_program.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_result.py gh-98458: unittest: bugfix for infinite loop while handling chained exceptions that contain cycles (GH-98459) 2022-12-04 12:06:42 -08:00
test_runner.py [3.11] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646) (GH-99698) 2022-11-22 19:02:56 +02:00
test_setups.py
test_skipping.py bpo-30856: Update TestResult early, without buffering in _Outcome (GH-28180) 2021-09-19 15:24:38 +03:00
test_suite.py