X Tutup
Skip to content

TST: skip broken test#6263

Merged
jenshnielsen merged 1 commit intomatplotlib:masterfrom
tacaswell:tst_skip_float_rounding_issue_test
Apr 3, 2016
Merged

TST: skip broken test#6263
jenshnielsen merged 1 commit intomatplotlib:masterfrom
tacaswell:tst_skip_float_rounding_issue_test

Conversation

@tacaswell
Copy link
Copy Markdown
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 tacaswell force-pushed the tst_skip_float_rounding_issue_test branch from e37ec17 to 14db594 Compare April 2, 2016 21:11
@tacaswell
Copy link
Copy Markdown
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
Copy Markdown
Member

QuLogic commented Apr 3, 2016

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

@tacaswell
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

4 participants

X Tutup