[issue35500] Align expected and actual calls on mock.assert_called_with error message

Terry J. Reedy report at bugs.python.org
Wed Jan 2 18:43:08 EST 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

"Expected" and "Observed" seem good.  I like "Received" slightly better, but would not argue with PR author.  It depends on whether one anthropomorphizes the assert function (or test machinery) as saying 'I expected to see' or 'I expected to get'.

----------
stage:  -> test needed
versions: +Python 3.8

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


More information about the Python-bugs-list mailing list