-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Matplotlib 1.3.0rc2 test errors on win-amd64-py2.7 #2106
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
Conversation
@cgohlke Does this still fail on rc4? |
It still fails. Only #2086 was fixed. |
I don't understand that error message. I had a cursory look at the test and this is the function call:
The first argument is indeed of the right type, so this is rather confusing. As for it failing on the while loop, I have no idea what's going on there. Both |
Could it be an incorrectly handled exception in the C++ extension? If I add |
Maybe I am missing something, but according to the docstring the |
Oh that's a good catch! I have no idea why that doesn't work on windows. I feel like if that failed on windows it should fail everywhere. |
@cgohlke: That fix certainly seems reasonable, and logically it definitely should be an instance as you proposed. When the transform is ultimately passed to C++, it tries to convert it to a transform, and failing that falls back to the identity transform... so one would expect to see the same behavior even though the input is nonsense. I haven't looked, but I suspect you're right that it's in the handling of the exception (or not) that the difference between Windows and other platforms is revealed. I've marked this as blocker and will endeavor to fix the underlying problem as well as the obvious one (fixing the test) before the next release candidate. |
… parse as an affine transform.
…n Unix and Windows.
I have what I hope are fixes for all of the above. I'm not clear on why it wasn't failing on Linux/OS-X, but there was definitely an uncleared Python exception sticking around. @cgohlke: Can you confirm this fixes these tests? |
I can confirm that the change to agg_py_transforms.cpp fixes the TypeError. |
The changes to test_contour.py also seem to work although I get some seemingly unrelated new ImageComparisonFailure. I'll postpone full testing to the new release candidate... |
Matplotlib 1.3.0rc2 test errors on win-amd64-py2.7
Matplotlib 1.3.0rc2 fails the following tests (besides #2086) on win-amd64-py2.7. Numpy is version 1.7.1.