summaryrefslogtreecommitdiff
path: root/numpy/typing
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-08 16:57:14 -0600
committerGitHub <noreply@github.com>2020-10-08 16:57:14 -0600
commitd3d594039815cbdae8e9afd281d629d0ee266b84 (patch)
tree21e975318b52c7e43088225212a4c3e0e426ad34 /numpy/typing
parent7396e03df3085b96fa4a99de5aaab0499670dd6e (diff)
parentc5fd38a38b931bd74d217663d35e7b8a507df2bc (diff)
downloadnumpy-d3d594039815cbdae8e9afd281d629d0ee266b84.tar.gz
Merge pull request #17487 from BvB93/duplicate
MAINT: Remove duplicate placeholder annotations
Diffstat (limited to 'numpy/typing')
-rw-r--r--numpy/typing/tests/data/fail/modules.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/numpy/typing/tests/data/fail/modules.py b/numpy/typing/tests/data/fail/modules.py
index be031e6e1..5e2d820ab 100644
--- a/numpy/typing/tests/data/fail/modules.py
+++ b/numpy/typing/tests/data/fail/modules.py
@@ -1,4 +1,10 @@
import numpy as np
np.testing.bob # E: Module has no attribute
-np.bob # E: Module has no attribute \ No newline at end of file
+np.bob # E: Module has no attribute
+
+# Stdlib modules in the namespace by accident
+np.warnings # E: Module has no attribute
+np.sys # E: Module has no attribute
+np.os # E: Module has no attribute
+np.math # E: Module has no attribute