Message249709
It looks like there's a related bug in call_args around __ne__:
>>> 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
Any reason not to define __ne__ as not __eq__? Otherwise it looks like you fall back to tuple.__ne__, which does the wrong thing here. |
|
Date |
User |
Action |
Args |
2015-09-04 04:24:09 | akaptur | set | recipients:
+ akaptur, r.david.murray, michael.foord, Wilfred.Hughes |
2015-09-04 04:24:09 | akaptur | set | messageid: <1441340649.55.0.567028046391.issue24857@psf.upfronthosting.co.za> |
2015-09-04 04:24:09 | akaptur | link | issue24857 messages |
2015-09-04 04:24:09 | akaptur | create | |
|