summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2020-10-19 16:21:14 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-01-16 02:22:35 +0100
commit5c9bd6e13ac87d961df82197bb82746d5e279f52 (patch)
tree9ab76cadc9bf46f3cc477a83d0620b7678dd4ca9
parent8f94cc6aecaa5aab1a42be99008a6db76d7eee86 (diff)
downloadnumpy-5c9bd6e13ac87d961df82197bb82746d5e279f52.tar.gz
TST: Add a deprecation test
-rw-r--r--numpy/core/tests/test_deprecations.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_deprecations.py b/numpy/core/tests/test_deprecations.py
index 5498e1cf9..cec837d08 100644
--- a/numpy/core/tests/test_deprecations.py
+++ b/numpy/core/tests/test_deprecations.py
@@ -698,6 +698,9 @@ class TestDeprecatedGlobals(_DeprecationTestCase):
self.assert_deprecated(lambda: np.long)
self.assert_deprecated(lambda: np.unicode)
+ # from np.core.numerictypes
+ self.assert_deprecated(lambda: np.typeDict)
+
class TestMatrixInOuter(_DeprecationTestCase):
# 2020-05-13 NumPy 1.20.0