pkgsrc/devel/py-test-mock
adam 7409e1ac0d 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.
2020-01-27 13:05:07 +00:00
..
DESCR
distinfo py-test-mock: updated to 2.0.0 2020-01-27 13:05:07 +00:00
Makefile py-test-mock: updated to 2.0.0 2020-01-27 13:05:07 +00:00
PLIST