cpython/Lib/unittest/test/testmock
Serhiy Storchaka 6cd08a566f
[3.11] gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302). (GH-106545)
(cherry picked from commit 6e6a4cd523)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2023-07-08 08:22:33 +00:00
..
__init__.py
__main__.py
support.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testasync.py [3.11] gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302). (GH-106545) 2023-07-08 08:22:33 +00:00
testcallable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testhelpers.py [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
testmagicmethods.py Clarify and fix assertions that mocks have not been awaited (GH-18196) 2020-01-27 14:55:56 +00:00
testmock.py gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740) 2023-01-04 15:08:37 -08:00
testpatch.py [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
testsealable.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
testsentinel.py Issue #20804: The unittest.mock.sentinel attributes now preserve their 2017-01-11 20:13:03 +02:00
testwith.py Restrict use of Mock objects as specs (GH-31090) 2022-02-03 00:41:19 -08:00