[issue33967] functools.singledispatch: Misleading exception when calling without arguments
Serhiy Storchaka
report at bugs.python.org
Mon Jul 16 13:02:10 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
The purpose of using assertRaisesRegexp() was testing the error message. assertRaises() doesn't do this. Needed to restore the appropriate assertion method, but using a non-deprecated alias: assertRaisesRegex().
----------
nosy: +serhiy.storchaka
resolution: fixed ->
stage: resolved -> needs patch
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33967>
_______________________________________
More information about the Python-bugs-list
mailing list