diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-01-27 17:01:37 +0100 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-01-27 17:01:37 +0100 |
| commit | 7060d5e28f735199df6b465755ddd1d3bc7ed07e (patch) | |
| tree | 6a5e372420fe814e4331655b18e3024fe79aa858 /numpy/typing | |
| parent | 59ca3b5e97e2186f439f3f2fc82259ba56a3b78f (diff) | |
| download | numpy-7060d5e28f735199df6b465755ddd1d3bc7ed07e.tar.gz | |
MAINT: Removed annotations for `__NUMPY_SETUP__`, `__deprecated_attrs__` and `__expired_functions__`
Removing them as their "public" nature is somewhat questionable.
Diffstat (limited to 'numpy/typing')
| -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 |
3 files changed, 4 insertions, 6 deletions
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] |
