cpython/Lib/test/test_unittest/testmock
Miss Islington (bot) 0a868db982
[3.13] gh-123934: Fix MagicMock not to reset magic method return values (GH-124038) (#124231)
gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038)
(cherry picked from commit 7628f67d55)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-09-29 18:11:03 -07:00
..
__init__.py
__main__.py
support.py [3.13] gh-119600: mock: do not access attributes of original when new_callable is set (GH-119601) (#120334) 2024-06-11 06:04:06 +00:00
testasync.py gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
testcallable.py
testhelpers.py [3.13] gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setattr__ (GH-120019) (#120336) 2024-06-11 06:12:16 +00:00
testmagicmethods.py [3.13] gh-123934: Fix MagicMock not to reset magic method return values (GH-124038) (#124231) 2024-09-29 18:11:03 -07:00
testmock.py [3.13] gh-120732: Fix name passing to Mock, when using kwargs to create_autospec (GH-120737) (#120760) 2024-06-19 20:59:28 +00:00
testpatch.py [3.13] gh-119600: mock: do not access attributes of original when new_callable is set (GH-119601) (#120334) 2024-06-11 06:04:06 +00:00
testsealable.py Fix mock code coverage. (#100580) 2022-12-28 12:36:26 +00:00
testsentinel.py
testthreadingmock.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00
testwith.py bpo-44185: Added close() to mock_open __exit__ (#26902) 2023-06-11 19:51:21 +01:00