Improve the error for unexpected function call spies in operations.
Review Request #11798 — Created Aug. 20, 2021 and submitted
In match-based spy operations, exceptions are raised when a call is made
to a spy that either exceeds or doesn't match the list of expected
To help with debugging these situations, the exception now includes the
call that triggered the exception.
This uncovered an issue in
near the end of the string.
Unit tests pass on Python 2 and 3.
Added the missing unit test update.
Revision 2 (+14 -6)
Checks run (2 succeeded)