Skip to content

TST/MNT: deprecate unused fixture #20795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/api/next_api_changes/deprecations/20795-TAC.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Remove unused pytest fixture
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The fixture ``matplotlib.testing.conftest.mpl_image_comparison_parameters``
is not used internally by Matplotlib. If you use this please copy it
into your code base.
1 change: 1 addition & 0 deletions lib/matplotlib/testing/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def mpl_test_settings(request):


@pytest.fixture
@_api.deprecated("3.5", alternative="none")
def mpl_image_comparison_parameters(request, extension):
# This fixture is applied automatically by the image_comparison decorator.
#
Expand Down
1 change: 0 additions & 1 deletion lib/matplotlib/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from matplotlib.testing.conftest import (mpl_test_settings,
mpl_image_comparison_parameters,
pytest_configure, pytest_unconfigure,
pd)
1 change: 0 additions & 1 deletion lib/mpl_toolkits/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from matplotlib.testing.conftest import (mpl_test_settings,
mpl_image_comparison_parameters,
pytest_configure, pytest_unconfigure)