8000 BUG: fix test_api test that fails intermittently in python 3 by charris · Pull Request #8338 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: fix test_api test that fails intermittently in python 3 #8338

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

Merged
merged 1 commit into from
Dec 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
BUG: fix test_api test that fails intermittently in python 3
  • Loading branch information
J-Sand authored and charris committed Dec 4, 2016
commit 1387daf075c0aa1e089015110ba486870c4ef1c8
2 changes: 1 addition & 1 deletion numpy/core/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_array_array():
dict(__array_struct__=a.__array_struct__))
## wasn't what I expected... is np.array(o) supposed to equal a ?
## instead we get a array([...], dtype=">V18")
assert_equal(str(np.array(o).data), str(a.data))
assert_equal(bytes(np.array(o).data), bytes(a.data))

# test array
o = type("o", (object,),
Expand Down
0