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: skip broken test #6263

Merged

Conversation

tacaswell
Copy link
Member

This test only over passed due to an error arising from a bug
in numpy's divmod being fixed (numpy/numpy#6127).

See #5950

attn @jenshnielsen

@tacaswell
Copy link
Member Author

Bah, this order of the decorators does not work because the failure happens in the outer decorator so barfs on not failing. Ordering the decorators the other order fails on definition.

@QuLogic
Copy link
Member

QuLogic commented Apr 3, 2016

I think you could just raise KnownFailureTest directly in the function?

@tacaswell
Copy link
Member Author

The only downside of that is that the knownfailure could hang around forever, the decorator checks that it actually fails in the cases where it is known to fail

This test only over passed due to an error arising from a bug
in numpy's divmod being fixed (numpy/numpy#6127).

See matplotlib#5950
@tacaswell tacaswell added this to the 1.5.2 (Critical bug fix release) milestone Apr 3, 2016
@tacaswell tacaswell force-pushed the tst_skip_float_rounding_issue_test branch from 14db594 to 26cba4b Compare April 3, 2016 13:11
@tacaswell
Copy link
Member Author

This has un-broken all of our CI. I have it tagged an 1.5.2 to backport it back to 1.5.x (as eventually we will end up with np1.11 in our test for all running branches.

@jenshnielsen
Copy link
Member

👍 for 1.5.x we likely need to do the same with test_bbox_inches_tight_raster since #6192 wasn't backported onto 1.5.x

@jenshnielsen jenshnielsen merged commit b49bcf4 into matplotlib:master Apr 3, 2016
@tacaswell tacaswell deleted the tst_skip_float_rounding_issue_test branch April 3, 2016 18:52
jenshnielsen added a commit that referenced this pull request Apr 3, 2016
@jenshnielsen
Copy link
Member

Backported to 1.5.x as 44e7356

tacaswell pushed a commit to tacaswell/matplotlib that referenced this pull request May 22, 2016
jenshnielsen added a commit to jenshnielsen/matplotlib that referenced this pull request Aug 13, 2016
Cannot use the decorator for similar reasons as matplotlib#6263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants