Jason R. Coombs <jar...@jaraco.com> added the comment:
I'm re-opening this issue as it does seem to apply stdlib (difflib.ndiff), which is why I encountered it both in unittest and pytest. Thanks xtreak for the distilled example. ---------- resolution: third party -> stage: resolved -> status: closed -> open title: unittest assertEqual reports incorrect location of mismatch -> difflib reports incorrect location of mismatch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com