Chris Jerdonek <[email protected]> added the comment:
I have a minor suggestion. I would suggest--
+ msg = ("Expected %s to be called once. Called %s times." %
+ (repr(self._mock_name) or 'mock', self.call_count))
so that one can distinguish between self._mock_name not being defined and
self._mock_name being equal to 'mock'.
----------
nosy: +cjerdonek
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15323>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com