[issue40126] Incorrect error handling in unittest.mock
Barry McLarnon
report at bugs.python.org
Fri Apr 3 12:31:38 EDT 2020
Barry McLarnon <bmclarnon at hotmail.co.uk> added the comment:
After further investigation, it seems this was fixed in https://github.com/python/cpython/commit/436c2b0d67da68465e709a96daac7340af3a5238
However, this fix was as part of an unrelated changeset and in a different function in 3.8+, and was never rolled back to 3.7 and below. PR opened to add the missing attribute instantiation to 3.7.
----------
nosy: -python-dev
versions: -Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40126>
_______________________________________
More information about the Python-bugs-list
mailing list