Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/matlab/mio5_params.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 'MDTYPES', 'MatlabFunction', 'MatlabObject', 'MatlabOpaque', 

9 'NP_TO_MTYPES', 'NP_TO_MXTYPES', 'OPAQUE_DTYPE', 'codecs_template', 

10 'mat_struct', 'mclass_dtypes_template', 'mclass_info', 'mdtypes_template', 

11 'miCOMPRESSED', 'miDOUBLE', 'miINT16', 'miINT32', 'miINT64', 'miINT8', 

12 'miMATRIX', 'miSINGLE', 'miUINT16', 'miUINT32', 'miUINT64', 'miUINT8', 

13 'miUTF16', 'miUTF32', 'miUTF8', 'mxCELL_CLASS', 'mxCHAR_CLASS', 

14 'mxDOUBLE_CLASS', 'mxFUNCTION_CLASS', 'mxINT16_CLASS', 'mxINT32_CLASS', 

15 'mxINT64_CLASS', 'mxINT8_CLASS', 'mxOBJECT_CLASS', 

16 'mxOBJECT_CLASS_FROM_MATRIX_H', 'mxOPAQUE_CLASS', 'mxSINGLE_CLASS', 

17 'mxSPARSE_CLASS', 'mxSTRUCT_CLASS', 'mxUINT16_CLASS', 'mxUINT32_CLASS', 

18 'mxUINT64_CLASS', 'mxUINT8_CLASS', 'convert_dtypes' 

19] 

20 

21def __dir__(): 

22 return __all__ 

23 

24 

25def __getattr__(name): 

26 return _sub_module_deprecation(sub_package="io.matlab", module="mio5_params", 

27 private_modules=["_mio5_params"], all=__all__, 

28 attribute=name)