diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-19 20:51:09 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-19 20:51:09 +0200 |
| commit | 4af8fd39bfa4a30e9d26e8021b42ffadf1f99398 (patch) | |
| tree | 95042fef7a12f1e96916f8eef8e8c86be34a690f /numpy/testing | |
| parent | 160a782381d2f723b0f1d836503e13eedeaaf7aa (diff) | |
| download | numpy-4af8fd39bfa4a30e9d26e8021b42ffadf1f99398.tar.gz | |
ENH: Replace module-level `__getattr__` with explicitly defined objects
Diffstat (limited to 'numpy/testing')
| -rw-r--r-- | numpy/testing/__init__.pyi | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/numpy/testing/__init__.pyi b/numpy/testing/__init__.pyi index 3938d68de..c394a387d 100644 --- a/numpy/testing/__init__.pyi +++ b/numpy/testing/__init__.pyi @@ -1,4 +1,44 @@ from typing import Any -# TODO: remove when the full numpy namespace is defined -def __getattr__(name: str) -> Any: ... +assert_equal: Any +assert_almost_equal: Any +assert_approx_equal: Any +assert_array_equal: Any +assert_array_less: Any +assert_string_equal: Any +assert_array_almost_equal: Any +assert_raises: Any +build_err_msg: Any +decorate_methods: Any +jiffies: Any +memusage: Any +print_assert_equal: Any +raises: Any +rundocs: Any +runstring: Any +verbose: Any +measure: Any +assert_: Any +assert_array_almost_equal_nulp: Any +assert_raises_regex: Any +assert_array_max_ulp: Any +assert_warns: Any +assert_no_warnings: Any +assert_allclose: Any +IgnoreException: Any +clear_and_catch_warnings: Any +SkipTest: Any +KnownFailureException: Any +temppath: Any +tempdir: Any +IS_PYPY: Any +HAS_REFCOUNT: Any +suppress_warnings: Any +assert_array_compare: Any +_assert_valid_refcount: Any +_gen_alignment_data: Any +assert_no_gc_cycles: Any +break_cycles: Any +HAS_LAPACK64: Any +TestCase: Any +run_module_suite: Any |
