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: mark test_constrainedlayout.py::test_colorbar_location as flaky #12683

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

jklymak
Copy link
Member

@jklymak jklymak commented Oct 31, 2018

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 is Flake 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

@jklymak jklymak added this to the v3.0.x milestone Oct 31, 2018
@timhoffm timhoffm merged commit d0deb47 into matplotlib:master Oct 31, 2018
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 31, 2018
QuLogic added a commit that referenced this pull request Nov 1, 2018
…683-on-v3.0.x

Backport 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 request Nov 3, 2018
* 'master' of https://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 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.

Travis error is MacOS image tolerance of 0.005 for test_constrained_layout.py::test_colorbar_location
4 participants