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

TST: mark test_constrainedlayout.py::test_colorbar_location as flaky#12683

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

Conversation

jklymak
Copy link
Member

PR Summary

Closes#12433

test_constrainedlayout.py::test_colorbar_location is sometimes flaky; i.e. the constraint solver sometimes seems tochoose the wrong constraint. The flakiness is rare, but occasionally causes CI to not pass.

Also added a@pytest.mark.timeout(30) because I saw one instance where the CI timed out because of this test. I don't see that we do this elsewhere in the CI suite, so please feel free to tell me if this is incorrect.

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 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

@jklymakjklymak added this to thev3.0.x milestoneOct 31, 2018
@jklymakjklymakforce-pushed thetst_mark_colorbartest_flaky branch from674e42a to504b29aCompareOctober 31, 2018 19:59
@timhoffmtimhoffm merged commitd0deb47 intomatplotlib:masterOct 31, 2018
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 31, 2018
QuLogic added a commit that referenced this pull requestNov 1, 2018
…683-on-v3.0.xBackport PR#12683 on branch v3.0.x (TST: mark test_constrainedlayout.py::test_colorbar_location as flaky)
thoo added a commit to thoo/matplotlib that referenced this pull requestNov 3, 2018
* 'master' ofhttps://github.com/matplotlib/matplotlib: (50 commits)  Set up CI with Azure Pipelines (matplotlib#12617)  Added comment for test.  Correctly remove nans when drawing paths with pycairo.  Improve docs on Axes limits and direction  Extend sphinx Makefile to cleanup completely  Remove explicit figure number  Update contributing.rst  Update contributing.rst  DOC: Add badge and link to making PR tutorial  Added test cases for scatter plot: 1) empty data/color, 2) pandas.Series with non-0 starting index.  TST: mark test_constrainedlayout.py::test_colorbar_location as flaky (matplotlib#12683)  Remove deprecation warnings in tests (matplotlib#12686)  Make ticks in demo_axes_rgb.py visible  Change ipython block to code-block  Improve linestyles example (matplotlib#12586)  document-textpath  Fix index out of bound error for testing first element of iterable.  TST: test that get_ticks works  FIX: fix error in colorbar.get_ticks not having valid data  Replaced warnings.warn with either logging.warnings or cbook._warn_external  ...
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer left review comments

@tacaswelltacaswelltacaswell approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.0.2
Development

Successfully merging this pull request may close these issues.

Travis error is MacOS image tolerance of 0.005 fortest_constrained_layout.py::test_colorbar_location
4 participants
@jklymak@tacaswell@anntzer@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp