Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/scipy/linalg/flinalg.py: 70%
10 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
3import warnings
4from . import _flinalg_py
6__all__ = ['get_flinalg_funcs', 'has_column_major_storage'] # noqa: F822
9def __dir__():
10 return __all__
13def __getattr__(name):
14 if name not in __all__:
15 raise AttributeError(
16 "scipy.linalg.flinalg is deprecated and has no attribute "
17 f"{name}. Try looking in scipy.linalg instead.")
19 warnings.warn("The `scipy.linalg.flinalg` namespace is deprecated and "
20 "will be removed in SciPy v2.0.0.",
21 category=DeprecationWarning, stacklevel=2)
23 return getattr(_flinalg_py, name)