summaryrefslogtreecommitdiff
path: root/numpy/typing
diff options
context:
space:
mode:
authorBas van Beek <bas.vanbeek@hotmail.com>2023-05-08 15:42:14 +0200
committerBas van Beek <bas.vanbeek@hotmail.com>2023-05-08 16:10:08 +0200
commitc6fdee0c67e90b154a8ff1172fb6d42acc53d218 (patch)
tree7996e9f76ac137705f2813860fd7792c28c5719d /numpy/typing
parentcc99207f78c84a7c7a89c5c1523371d1dcfe23bf (diff)
downloadnumpy-c6fdee0c67e90b154a8ff1172fb6d42acc53d218.tar.gz
TYP: Add the `np.exceptions` namespace and add `DTypePromotionError`
Xref https://github.com/numpy/numpy/pull/22644 and https://github.com/numpy/numpy/pull/22707 Update modules.pyi
Diffstat (limited to 'numpy/typing')
-rw-r--r--numpy/typing/tests/data/reveal/modules.pyi1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/typing/tests/data/reveal/modules.pyi b/numpy/typing/tests/data/reveal/modules.pyi
index ba830eb0d..7d6fdb9eb 100644
--- a/numpy/typing/tests/data/reveal/modules.pyi
+++ b/numpy/typing/tests/data/reveal/modules.pyi
@@ -16,6 +16,7 @@ reveal_type(np.random) # E: ModuleType
reveal_type(np.rec) # E: ModuleType
reveal_type(np.testing) # E: ModuleType
reveal_type(np.version) # E: ModuleType
+reveal_type(np.exceptions) # E: ModuleType
reveal_type(np.lib.format) # E: ModuleType
reveal_type(np.lib.mixins) # E: ModuleType