STINNER Victor added the comment:

> Is there a reason you are not using 'with assertRaises' in the test?

The test is not testing the exception class, but the first argument of
the exception. How do you test that using assertRaises()? Especially
to check "err.args[0] is missing".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17702>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to