cpython/Lib/test/test_unittest/testmock
Mario Corchero 7e96370a94
gh-61215: threadingmock: Improve test suite to avoid race conditions (#106822)
threadingmock: Improve test suite to avoid race conditions

Simplify tests and split them into multiple tests to prevent assertions
from triggering race conditions.
Additionally, we rely on calling the mocks without delay to validate the
functionality of matching calls.
2023-07-17 18:57:40 +00:00
..
__init__.py
__main__.py
support.py
testasync.py gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
testcallable.py
testhelpers.py gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (#103228) 2023-04-13 08:37:57 +01:00
testmagicmethods.py
testmock.py gh-83403: Test `parent` param in `Mock.__init__` (#103630) 2023-05-30 08:36:22 +01:00
testpatch.py gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (#103228) 2023-04-13 08:37:57 +01:00
testsealable.py Fix mock code coverage. (#100580) 2022-12-28 12:36:26 +00:00
testsentinel.py
testthreadingmock.py gh-61215: threadingmock: Improve test suite to avoid race conditions (#106822) 2023-07-17 18:57:40 +00:00
testwith.py bpo-44185: Added close() to mock_open __exit__ (#26902) 2023-06-11 19:51:21 +01:00