Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio5_utils.py: 83%

6 statements  

« 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. 

4 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7__all__ = [ # noqa: F822 

8 'VarHeader5', 'VarReader5', 'byteswap_u4', 'chars_to_strings', 

9 'csc_matrix', 'mio5p', 'pycopy', 'swapped_code', 'squeeze_element' 

10] 

11 

12def __dir__(): 

13 return __all__ 

14 

15 

16def __getattr__(name): 

17 return _sub_module_deprecation(sub_package="io.matlab", module="mio5_utils", 

18 private_modules=["_mio5_utils"], all=__all__, 

19 attribute=name)