[issue37972] unittest.mock.call does not chain __getitem__ to another _Call object
Roundup Robot
report at bugs.python.org
Wed Sep 11 10:28:09 EDT 2019
Roundup Robot <devnull at psf.upfronthosting.co.za> added the comment:
New changeset 72c359912d36705a94fca8b63d80451905a14ae4 by Michael Foord (blhsing) in branch 'master':
bpo-37972: unittest.mock._Call now passes on __getitem__ to the __getattr__ chaining so that call() can be subscriptable (GH-15565)
https://github.com/python/cpython/commit/72c359912d36705a94fca8b63d80451905a14ae4
----------
nosy: +python-dev
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37972>
_______________________________________
More information about the Python-bugs-list
mailing list