cpython/Lib/test/test_unittest/testmock
infohash 735fc2cbbc
gh-75988: Fix issues with autospec ignoring wrapped object (#115223)
* set default return value of functional types as _mock_return_value

* added test of wrapping child attributes

* added backward compatibility with explicit return

* added docs on the order of precedence

* added test to check default return_value
2024-03-08 19:14:32 +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
testmagicmethods.py
testmock.py gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
testpatch.py gh-115274: Fix direct invocation of `testmock/testpatch.py` (#115275) 2024-02-11 11:51:25 +03:00
testsealable.py
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