Tal Einat <talei...@gmail.com> added the comment:
Susan, I agree that similarly improving the failure message for assert_called_with would be good. I find the final "Not called" line unclear, though. Perhaps something like the following: AssertionError: expected call not found. Expected: mock(1, 2, 3, 4) Actual: Not called ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com