-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Test failure with matplotlib 1.5.2rc2 on Debian #13570
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
Comments
Thanks for the report. Looks to be caused by mpl which raises Appreciated to submit a PR. |
Shall this be compatible with matplotlib < 1.5.2rc? Then this is not that simple, since tm.assertRaises() only accepts a singe exception, and one then would need to create another mpl_ge_1_5_2 comparison specifically for this test. |
cc @tacaswell Just to be sure, the change from TypeError to AttributeError, was this on purpose? (it's raised in |
I do not think that was intentional and I am not sure off the top of my head why this changed. The |
So, I broke this: matplotlib/matplotlib#6175 It looks like we used to have Unfortunately I just tagged 1.5.2 last weekend, but have not posted it to pypi or publicized it yet 😞. I am inclined to just document this as an API change, but if you want to lobby for a 1.5.3 fixing this, this is the time to do it! |
I don't think it is that an important change, so leaving (and documenting) it is fine for me (for pandas it is only a test that is broken, and I think you will have a better idea of how big this change is for matploltib users). In any case, I think the AttributeError is more logical. |
@sinhrks @jorisvandenbossche For me the question here is still, what that test is for? |
can u add
|
Well, it tests that if you pass a wrong keyword, that this raises an error, and is not swallowed somewhere in the implementation. So it's not a huge important test, but still useful (we actually have to many functions in pandas that silently swallow invalid arguments) |
When running the test suite after the package was built, we get the following failure:
Full log here (from the Debian bug report).
pandas.show_versions()
gives:The text was updated successfully, but these errors were encountered: