cpython/Lib/test/test_unittest/testmock
Chris Withers e6379f72cb
Remove unused branches from mock module (#106617)
* lambda has a name of __none__, but no async lambda so this branch is not needed

* _get_signature_object only returns None for bound builtins. There are no async builtins so this branch isn't needed

* Exclude  a couple of methods from coverage checking in the downstream rolling backport of mock
2023-07-11 08:52:12 +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 Remove unused branches from mock module (#106617) 2023-07-11 08:52:12 +00:00
testwith.py bpo-44185: Added close() to mock_open __exit__ (#26902) 2023-06-11 19:51:21 +01:00