Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: move the Qt-specific handling to conftest #16261

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 2 commits into from
Jan 23, 2020

Conversation

tacaswell
Copy link
Member

The order fixtures are applied appears to have changed / become
indeterminate in pytest 5.3.3 which breaks the over-riding of
mpl_test_settings that we were doing in test_backend_qt5.

This moves the skipping logic to mpl_test_settings, but leaves the
importing of QtCore in the qt_core fixture.

This is a follow on to #16259 that should work for all versions of pytest.

@tacaswell tacaswell added this to the v3.3.0 milestone Jan 19, 2020
@tacaswell
Copy link
Member Author

Tried re-basing to pick up the scipy related doc fix and see if that fixes the azure + windows + git clone related issues.

The order fixtures are applied appears to have changed / become
indeterminate in pytest 5.3.3 which breaks the over-riding of
mpl_test_settings that we were doing in test_backend_qt5.

This moves the skipping logic to mpl_test_settings, but leaves the
importing of QtCore in the qt_core fixture.
@tacaswell tacaswell force-pushed the tst_fix_qt_fixtures branch from 3d8a6cb to 44a92d5 Compare January 23, 2020 06:13
@anntzer anntzer merged commit cd580da into matplotlib:master Jan 23, 2020
@tacaswell tacaswell deleted the tst_fix_qt_fixtures branch January 24, 2020 21:15
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.

3 participants