[issue37972] unittest.mock.call does not chain __getitem__ to another _Call object

Ben Hsing report at bugs.python.org
Wed Sep 11 09:42:18 EDT 2019


Ben Hsing <blhsing at gmail.com> added the comment:

Correction. I've now done this by delegating the resolution of attributes belonging to the tuple class to _Call.__getattr__ instead. Passed all build tests.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37972>
_______________________________________


More information about the Python-bugs-list mailing list