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 a test that fails with NumPy 1.16.x. #471

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

mdickinson
Copy link
Member

test_selection_no_warning is checking that Chaco itself doesn't raise any warnings on selection assignment. Previously, we were filtering out a known NumPy warning; that filter doesn't work with NumPy 1.16.x because the warning message changed.

This PR updates the filter to filter out all warning messages from packages other than Chaco.

Fixes #468.

@jvkersch
Copy link
Contributor

LGTM!

@jvkersch jvkersch merged commit 047714a into master Jul 18, 2019
@jvkersch jvkersch deleted the fix/warning-filtering-in-test branch July 18, 2019 13:59
@jvkersch jvkersch mentioned this pull request Jul 21, 2019
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.

test_selection_no_warning fails under unittest
2 participants