Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio4.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 'MatFile4Reader', 'MatFile4Writer', 'SYS_LITTLE_ENDIAN', 

9 'VarHeader4', 'VarReader4', 'VarWriter4', 'arr_to_2d', 'mclass_info', 

10 'mdtypes_template', 'miDOUBLE', 'miINT16', 'miINT32', 'miSINGLE', 

11 'miUINT16', 'miUINT8', 'mxCHAR_CLASS', 'mxFULL_CLASS', 'mxSPARSE_CLASS', 

12 'np_to_mtypes', 'order_codes', 'MatFileReader', 'docfiller', 

13 'matdims', 'read_dtype', 'convert_dtypes', 'arr_to_chars', 

14 'arr_dtype_number', 'squeeze_element', 'chars_to_strings' 

15] 

16 

17def __dir__(): 

18 return __all__ 

19 

20 

21def __getattr__(name): 

22 return _sub_module_deprecation(sub_package="io.matlab", module="mio4", 

23 private_modules=["_mio4"], all=__all__, 

24 attribute=name)