Skip to content
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

TST: Followup corrections to #28205 #28207

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented May 10, 2024

PR summary

Make the changes suggested by @ianthomas23 in #28205, and also mark the ipython tests as using their backend. While the backend is already checked for availability at the top of the respective files, that only checks whether it can be imported, not whether it can be set as the Matplotlib backend. Adding the marker causes our pytest configuration to actually check and skip the test if unavailable (e.g., on Linux without (WAYLAND_)DISPLAY set fails to set an interactive backend).

PR checklist

Make the changes suggested by @ianthomas23, and also mark the ipython
tests as using their backend. While the backend is already checked for
availability at the top of the respective files, that only checks
whether it can be imported, not whether it can be set as the Matplotlib
backend. Adding the marker causes our pytest configuration to actually
check and skip the test if unavailable (e.g., on Linux without
`(WAYLAND_)DISPLAY` set fails to set an interactive backend).
@QuLogic
Copy link
Member Author

QuLogic commented May 10, 2024

I'm milestoning this as 3.10 only so that the backport bot doesn't trigger; I pushed this backport directly to #28206.

@ksunden ksunden merged commit 955432c into matplotlib:main May 13, 2024
51 checks passed
@ksunden ksunden modified the milestones: v3.10.0, v3.9.0 May 13, 2024
@ksunden
Copy link
Member

ksunden commented May 13, 2024

Remilestoned back to 3.9 post merge so no backport bot, but still will be caught by github stats/if we need to look back at it at some point/etc.

@QuLogic QuLogic deleted the old-ipython branch May 15, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants