Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hide the backend.qt4/5 rcparam deprecation warning in test suite.#10347

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 2 commits intomatplotlib:masterfromanntzer:hide-backendqt-rc-warning
Jan 30, 2018

Conversation

anntzer
Copy link
Contributor

Otherwise, the test suite is spammed by warnings. Note that pytest
explicitly disregards warnings filters (pytest issue 2430) so we can't
just set a filter when resetting the rcparams are reset in the test
suite.

The changes in matplotlib.testing are just there to allow it to be
imported relatively early in the matplotlib import process.

labeling as release critical given the amount of spam on the test suite (if this, or another similar fix, cannot be merged, then we should revert#10282 until a better solution is found).
attn@efiring who first mentioned the issue to me.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Otherwise, the test suite is spammed by warnings.  Note that pytestexplicitly disregards warnings filters (pytest issue 2430) so we can'tjust set a filter when resetting the rcparams are reset in the testsuite.The changes in matplotlib.testing are just there to allow it to beimported relatively early in the matplotlib import process.
@anntzeranntzer added Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. topic: testing labelsJan 30, 2018
@anntzeranntzer added this to thev2.2 milestoneJan 30, 2018
"The backend.qt5 rcParam was deprecated in version 2.2. In order "
"to force the use of a specificQt5 binding, either import that "
"to force the use of a specificQt4 binding, either import that "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Qt4->Qt5

@jklymak
Copy link
Member

I pushed a minor change

@efiringefiring merged commit482bde0 intomatplotlib:masterJan 30, 2018
@anntzeranntzer deleted the hide-backendqt-rc-warning branchJanuary 30, 2018 17:55
@QuLogicQuLogic modified the milestones:needs sorting,v2.2.0Feb 12, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: testing
Projects
None yet
Milestone
v2.2.0
Development

Successfully merging this pull request may close these issues.

4 participants
@anntzer@jklymak@efiring@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp