File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ 3.3.1 (2020-08-24)
2
+ ------------------
3
+
4
+ * Introduce ``MockFixture `` as an alias to ``MockerFixture ``.
5
+
6
+ Before ``3.3.0 ``, the fixture class was named ``MockFixture ``, but was renamed to ``MockerFixture `` to better
7
+ match the ``mocker `` fixture. While not officially part of the API, it was later discovered that this broke
8
+ the code of some users which already imported ``pytest_mock.MockFixture `` for type annotations, so we
9
+ decided to reintroduce the name as an alias.
10
+
11
+ Note however that this is just a stop gap measure, and new code should use ``MockerFixture `` for type annotations.
12
+
1
13
3.3.0 (2020-08-21)
2
14
------------------
3
15
Original file line number Diff line number Diff line change 1
1
from pytest_mock .plugin import *
2
2
3
+ MockFixture = MockerFixture # backward-compatibility only (#204)
4
+
3
5
__all__ = [
4
6
"MockerFixture" ,
7
+ "MockFixture" ,
5
8
"pytest_addoption" ,
6
9
"pytest_configure" ,
7
10
"session_mocker" ,
You can’t perform that action at this time.
0 commit comments