diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/__init__.pyi | 3 | ||||
-rw-r--r-- | numpy/typing/tests/data/fail/modules.py | 4 | ||||
-rw-r--r-- | numpy/typing/tests/data/pass/modules.py | 3 | ||||
-rw-r--r-- | numpy/typing/tests/data/reveal/modules.py | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi index 27881a725..911b496df 100644 --- a/numpy/__init__.pyi +++ b/numpy/__init__.pyi @@ -315,9 +315,6 @@ __all__: List[str] __path__: List[str] __version__: str __git_version__: str -__NUMPY_SETUP__: bool -__deprecated_attrs__: Dict[str, Tuple[type, str]] -__expired_functions__: Dict[str, str] DataSource: Any MachAr: Any diff --git a/numpy/typing/tests/data/fail/modules.py b/numpy/typing/tests/data/fail/modules.py index 5e2d820ab..b80fd9ede 100644 --- a/numpy/typing/tests/data/fail/modules.py +++ b/numpy/typing/tests/data/fail/modules.py @@ -8,3 +8,7 @@ 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 + +np.__NUMPY_SETUP__ # E: Module has no attribute +np.__deprecated_attrs__ # E: Module has no attribute +np.__expired_functions__ # E: Module has no attribute diff --git a/numpy/typing/tests/data/pass/modules.py b/numpy/typing/tests/data/pass/modules.py index 3ac215311..013841ae7 100644 --- a/numpy/typing/tests/data/pass/modules.py +++ b/numpy/typing/tests/data/pass/modules.py @@ -18,6 +18,3 @@ np.__all__ np.__path__ np.__version__ np.__git_version__ -np.__NUMPY_SETUP__ -np.__deprecated_attrs__ -np.__expired_functions__ diff --git a/numpy/typing/tests/data/reveal/modules.py b/numpy/typing/tests/data/reveal/modules.py index 3ff44b6a7..8e4eab50f 100644 --- a/numpy/typing/tests/data/reveal/modules.py +++ b/numpy/typing/tests/data/reveal/modules.py @@ -23,6 +23,3 @@ reveal_type(np.__all__) # E: list[builtins.str] reveal_type(np.__path__) # E: list[builtins.str] reveal_type(np.__version__) # E: str reveal_type(np.__git_version__) # E: str -reveal_type(np.__NUMPY_SETUP__) # E: bool -reveal_type(np.__deprecated_attrs__) # E: dict[builtins.str, Tuple[builtins.type, builtins.str]] -reveal_type(np.__expired_functions__) # E: dict[builtins.str, builtins.str] |