-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
check_figures_equal regression from 3.2.0 to 3.2.1 #16916
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
Comments
As part of #16795 (which was backport of #15199) we made it possible to stack other fixtures onto functions decorated wiith We could tweak that surgery a bit and go back to passing the figures as positional, but that introduces a miss-match between how all of the other pytest fixtures work. I think is is better to have special names rather than special positions. If you change the names to |
That's correct, just tried with those renames and it works! Thanks for the quick reply. |
Clarify that the names matter and add a check with a better exception. closes matplotlib#16916
Clarify that the names matter and add a check with a better exception. closes matplotlib#16916
Bug report
Bug summary
Previously, tests using check_figures_equal worked as expected on V3.2.0. When upgrading to V3.2.1, with no other changes to system, tests now fail with the error message:
Code for reproduction
Actual outcome
This is the console output showing:
Uninstall V3.2.1 -> Install V.3.2.0
Expected outcome
Tests that were previously working are not expected to start failing on version update? I might be missing something, but I didn't see anything in update notes about needing to refactor tests.
Matplotlib version
print(matplotlib.get_backend())
): TkAggThe text was updated successfully, but these errors were encountered: