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
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
testsealable.py
testsentinel.py
testthreadingmock.py
testwith.py