3.3.1 (2020-08-24)
-
Introduce
MockFixture
as an alias toMockerFixture
.Before
3.3.0
, the fixture class was namedMockFixture
, but was renamed toMockerFixture
to better
match themocker
fixture. While not officially part of the API, it was later discovered that this broke
the code of some users which already importedpytest_mock.MockFixture
for type annotations, so we
decided to reintroduce the name as an alias.Note however that this is just a stop gap measure, and new code should use
MockerFixture
for type annotations. -
Improved typing for
MockerFixture.patch
(#201). Thanks @srittau for the PR.