Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio.py: 83%
6 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-03-22 06:44 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-03-22 06:44 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
2# Use the `scipy.io.matlab` namespace for importing the functions
3# included below.
5from scipy._lib.deprecation import _sub_module_deprecation
7__all__ = [ # noqa: F822
8 'mat_reader_factory', 'loadmat', 'savemat', 'whosmat',
9 'contextmanager', 'docfiller',
10 'MatFile4Reader', 'MatFile4Writer', 'MatFile5Reader', 'MatFile5Writer'
11]
13def __dir__():
14 return __all__
17def __getattr__(name):
18 return _sub_module_deprecation(sub_package="io.matlab", module="mio",
19 private_modules=["_mio"], all=__all__,
20 attribute=name)