cpython/Lib/unittest/test/testmock
Miss Islington (bot) db0d8a5b2c bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable (GH-15565) (GH-15965)
* bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable

* 📜🤖 Added by blurb_it.

* Update 2019-08-28-21-40-12.bpo-37972.kP-n4L.rst

added name of the contributor

* bpo-37972: made all dunder methods chainable for _Call

* bpo-37972: delegate only attributes of tuple instead to __getattr__
(cherry picked from commit 72c359912d)

Co-authored-by: blhsing <github@ydooby.com>
2019-09-12 12:52:49 +02:00
..
__init__.py
__main__.py
support.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testasync.py bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) 2019-09-10 06:16:00 -07:00
testcallable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testhelpers.py bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable (GH-15565) (GH-15965) 2019-09-12 12:52:49 +02:00
testmagicmethods.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testmock.py bpo-37212: Preserve keyword argument order in unittest.mock.call and error messages (GH-14310) 2019-09-09 04:42:43 -07:00
testpatch.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
testsealable.py Mock 100% coverage (GH-13045) 2019-05-01 23:04:04 +01:00
testsentinel.py Issue #20804: The unittest.mock.sentinel attributes now preserve their 2017-01-11 20:13:03 +02:00
testwith.py bpo-37008: make mock_open handle able to honor next() (GH-13492) 2019-05-23 03:03:25 -07:00