summaryrefslogtreecommitdiff
path: root/numpy/typing
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2020-10-07 12:41:45 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2020-10-07 12:53:06 +0200
commitc5fd38a38b931bd74d217663d35e7b8a507df2bc (patch)
tree7cc6314f14d688fcee70d2c4c039f5b18a73afad /numpy/typing
parent30e037cf51ff476ef249926f365212e991886a27 (diff)
downloadnumpy-c5fd38a38b931bd74d217663d35e7b8a507df2bc.tar.gz
TST: Updated the module-related tests
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