Message249715
| 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:39 | akaptur | set | recipients:
+ akaptur |
| 2015年09月04日 05:08:39 | akaptur | set | messageid: <1441343319.6.0.391788581363.issue24997@psf.upfronthosting.co.za> |
| 2015年09月04日 05:08:39 | akaptur | link | issue24997 messages |
| 2015年09月04日 05:08:39 | akaptur | create |
|