summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Kudo <jun-lab@junnoMacBook-Pro.local>2020-10-01 14:43:40 +0900
committerJun Kudo <jun-lab@junnoMacBook-Pro.local>2020-10-01 14:43:40 +0900
commit72172ce9fd0fc11378cb65d7ed033407ac722ca7 (patch)
tree268cc2938280cbecaa63e3d6142f0e511b86d590
parent2dd8693721f9781d4837ed14461d122bdd5c7874 (diff)
downloadnumpy-72172ce9fd0fc11378cb65d7ed033407ac722ca7.tar.gz
TST: add test to verify that getting a non-existent objects of top-level indeed results in an error
-rw-r--r--numpy/typing/tests/data/fail/modules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/typing/tests/data/fail/modules.py b/numpy/typing/tests/data/fail/modules.py
index e7ffe8920..be031e6e1 100644
--- a/numpy/typing/tests/data/fail/modules.py
+++ b/numpy/typing/tests/data/fail/modules.py
@@ -1,3 +1,4 @@
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