--- - branch: MAIN date: Mon Jan 27 13:05:07 UTC 2020 files: - new: '1.21' old: '1.20' path: pkgsrc/devel/py-test-mock/Makefile pathrev: pkgsrc/devel/py-test-mock/Makefile@1.21 type: modified - new: '1.19' old: '1.18' path: pkgsrc/devel/py-test-mock/distinfo pathrev: pkgsrc/devel/py-test-mock/distinfo@1.19 type: modified id: 20200127T130507Z.333d2e8aae6589b80bb7a936b6230191d6f7ef2a log: | py-test-mock: updated to 2.0.0 2.0.0: Breaking Changes mocker.spy attributes for tracking returned values and raised exceptions of its spied functions are now called spy_return and spy_exception, instead of reusing the existing MagicMock attributes return_value and side_effect. Version 1.13 introduced a serious regression: after a spied function using mocker.spy raises an exception, further calls to the spy will not call the spied function, always raising the first exception instead: assigning to side_effect causes unittest.mock to behave this way. The deprecated mock alias to the mocker fixture has finally been removed. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-test-mock' unixtime: '1580130307' user: adam