Gordon P. Hemsley <gphems...@gphemsley.org> added the comment:

I've created a PR that fixes the issue, which I discovered while evaluating the 
test coverage for _strptime.

Certain scenarios of error messages were never being hit because the cascade 
was out of order, and the tests were not showing that because they were 
throwing a different ValueError than the one they were expecting to throw.

----------

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

Reply via email to