From c5fd38a38b931bd74d217663d35e7b8a507df2bc Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Wed, 7 Oct 2020 12:41:45 +0200 Subject: TST: Updated the module-related tests --- numpy/typing/tests/data/fail/modules.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'numpy/typing') 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 -- cgit v1.2.1