[issue35955] unittest assertEqual reports incorrect location of mismatch

Jason R. Coombs report at bugs.python.org
Sun Feb 10 09:14:00 EST 2019


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I should acknowledge that I'm using pytest here also... and pytest may be the engine that's performing the reporting of the failed assertion.

In fact, switching to simple assertions, I see the same behavior, so I now suspect the issue may lie with pytest and not unittest.

----------

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


More information about the Python-bugs-list mailing list