Skip to content
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

Fix test errors with numpy master #3223

Merged
merged 4 commits into from
Jan 31, 2014
Merged

Conversation

rgommers
Copy link
Member

Also some cleanup in ndimage tests.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 7915e29 on rgommers:ndimage-warnings into dc7555b on scipy:master.

@@ -1089,7 +1089,7 @@ def test_structured_arrays(self):
bb = np.array(list(zip(b, b)), dt)
v = stats.itemfreq(aa)
# Arrays don't compare equal because v[:,0] is object array
assert_equal(v[2, 0], bb[2])
assert_equal(tuple(v[2, 0]), tuple(bb[2]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a know regression in numpy:
numpy/numpy#3804

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. It was kinda puzzling. Still doesn't hurt to make this change here.

@rgommers
Copy link
Member Author

Any objections to merging this one? Should all be trivial fixes.

pv added a commit that referenced this pull request Jan 31, 2014
TST: fix test errors with numpy master
@pv pv merged commit 2175c91 into scipy:master Jan 31, 2014
@pv
Copy link
Member

pv commented Jan 31, 2014

Thanks, merged.

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.

None yet

4 participants