-
Notifications
You must be signed in to change notification settings - Fork 632
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
test_buffer_numpy in zmq.tests.test_message.TestMessage fails #82
Comments
Crap, that's honestly probably just a bug in the test itself, due to the transition from buffer objects to memoryview objects in Python 2.7. This test is for doing non-copying sends of data in numpy arrays. numpy's A.data returns a buffer, while pyzmq uses memoryview objects in Python 2.7, and the two are not identical. If you replace: and it passes, then there should be no problem. Maybe we should not start using memoryviews until 3.0, though, and stick with buffers in 2.7. |
All tests pass with proposed changes. I leave the ticket open in case you want to follow up. Feel free to close otherwise. |
fix non-copying numpy test for Python >= 2.7 closed by deab582 |
I have run the test suite after my build and encountered a failed test. What is the impact of the test failure?
Regards, Andreas
I am using:
Compilation was successful. The I copied libzmq.dll to the PATH.
The text was updated successfully, but these errors were encountered: