homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akaptur
Recipients akaptur
Date 2015年09月04日.05:08:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441343319.6.0.391788581363.issue24997@psf.upfronthosting.co.za>
In-reply-to
Content
mock.call_args can be both equal to and not equal to another object:
>>> m = Mock()
>>> m(1,2)
<Mock name='mock()' id='4483976016'>
>>> m.call_args
call(1, 2)
>>> m.call_args == call(1,2)
True
>>> m.call_args != call(1,2)
True
This appears to be a recent regression - it repros on trunk, but not on 3.3 or 2.7 with mock 1.3.0.
History
Date User Action Args
2015年09月04日 05:08:39akaptursetrecipients: + akaptur
2015年09月04日 05:08:39akaptursetmessageid: <1441343319.6.0.391788581363.issue24997@psf.upfronthosting.co.za>
2015年09月04日 05:08:39akapturlinkissue24997 messages
2015年09月04日 05:08:39akapturcreate

AltStyle によって変換されたページ (->オリジナル) /