[issue25195] mock.ANY doesn't match mock.MagicMock() object
Berker Peksag
report at bugs.python.org
Sun Feb 7 23:36:19 EST 2016
Berker Peksag added the comment:
Looks like _Call is a subclass of tuple. Checks in the test could be written as "self.assertIs(a == b, True)".
----------
nosy: +berker.peksag
stage: -> patch review
versions: +Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25195>
_______________________________________
More information about the Python-bugs-list
mailing list