Skip to content

Commit d958497

Browse files
authored
Merge pull request #20795 from tacaswell/mnt_deprecate_unused_fixture
2 parents e044cf5 + 8385d46 commit d958497

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Remove unused pytest fixture
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The fixture ``matplotlib.testing.conftest.mpl_image_comparison_parameters``
4+
is not used internally by Matplotlib. If you use this please copy it
5+
into your code base.

lib/matplotlib/testing/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def mpl_test_settings(request):
8989

9090

9191
@pytest.fixture
92+
@_api.deprecated("3.5", alternative="none")
9293
def mpl_image_comparison_parameters(request, extension):
9394
# This fixture is applied automatically by the image_comparison decorator.
9495
#

lib/matplotlib/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
from matplotlib.testing.conftest import (mpl_test_settings,
2-
mpl_image_comparison_parameters,
32
pytest_configure, pytest_unconfigure,
43
pd)

lib/mpl_toolkits/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
from matplotlib.testing.conftest import (mpl_test_settings,
2-
mpl_image_comparison_parameters,
32
pytest_configure, pytest_unconfigure)

0 commit comments

Comments
 (0)