Skip to content

TST: fix failures due to new FutureWarnings in NumPy 1.21.dev0 #13473

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
Jan 31, 2021

Conversation

rgommers
Copy link
Member

The warnings were:

FutureWarning: Promotion of numbers and bools to strings is deprecated.

The test_lfilter_bad_object changes from ValueError to TypeError.
The changes in behaviour should be due to the refactoring in
the NumPy dtype system. There's not much point keeping these
tests, more trouble than they're worth.

Closes gh-13472

The warnings were:

FutureWarning: Promotion of numbers and bools to strings is deprecated.

The `test_lfilter_bad_object` changes from ValueError to TypeError.
The changes in behaviour should be due to the refactoring in
the NumPy dtype system. There's not much point keeping these
tests, more trouble than they're worth.

Closes scipygh-13472
@rgommers rgommers added maintenance Items related to regular maintenance tasks backport-candidate This fix should be ported by a maintainer to previous SciPy versions. labels Jan 31, 2021
@rgommers rgommers added this to the 1.6.1 milestone Jan 31, 2021
@rgommers
Copy link
Member Author

This seems to have worked, merging.

@rgommers rgommers merged commit d8d6634 into scipy:master Jan 31, 2021
@rgommers rgommers deleted the fix-futurewarnings branch January 31, 2021 18:50
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failures on FutureWarnings with numpy 1.20.0 for lfilter, sosfilt and gmean
2 participants