Skip to content

DEP: Remove the deprecated utils.py shim.#23060

Merged
seberg merged 1 commit intonumpy:mainfrom
charris:remove-testing-utils-shim
Jan 22, 2023
Merged

DEP: Remove the deprecated utils.py shim.#23060
seberg merged 1 commit intonumpy:mainfrom
charris:remove-testing-utils-shim

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jan 21, 2023

The shim has been deprecated since 2019, the proper place to import utils funtions is directly from numpy.testing.

@charris charris added 07 - Deprecation 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes labels Jan 21, 2023
@charris charris added this to the 1.25.0 release milestone Jan 21, 2023
@charris
Copy link
Copy Markdown
Member Author

charris commented Jan 21, 2023

I think we should also deprecate exporting unittest.TestCase from numpy.testing and ma.testutils

@charris charris force-pushed the remove-testing-utils-shim branch from c201faf to 6dd2719 Compare January 21, 2023 23:27
The shim has been deprecated since 2019, the proper place to import
utils funtions is directly from numpy.testing.
@charris charris force-pushed the remove-testing-utils-shim branch from 6dd2719 to d62280d Compare January 22, 2023 00:06
@seberg seberg merged commit 2f8129c into numpy:main Jan 22, 2023
@seberg
Copy link
Copy Markdown
Member

seberg commented Jan 22, 2023

Thanks Chuck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

07 - Deprecation 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants