Skip to content

Fix a test that fails with NumPy 1.16.x.#471

Merged
jvkersch merged 1 commit into
masterfrom
fix/warning-filtering-in-test
Jul 18, 2019
Merged

Fix a test that fails with NumPy 1.16.x.#471
jvkersch merged 1 commit into
masterfrom
fix/warning-filtering-in-test

Conversation

@mdickinson
Copy link
Copy Markdown
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
Copy Markdown
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