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

6 statements  

« prev     ^ index     » next       coverage.py v7.4.1, created at 2024-02-14 06:37 +0000

1# This file is not meant for public use and will be removed in SciPy v2.0.0. 

2# Use the `scipy.io` namespace for importing the functions 

3# included below. 

4 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7__all__ = [ # noqa: F822 

8 'MalformedHeader', 'hb_read', 'hb_write', 'HBInfo', 

9 'HBFile', 'HBMatrixType', 'FortranFormatParser', 'IntFormat', 

10 'ExpFormat', 'BadFortranFormat', 'hb' 

11] 

12 

13 

14def __dir__(): 

15 return __all__ 

16 

17 

18def __getattr__(name): 

19 return _sub_module_deprecation(sub_package="io", module="harwell_boeing", 

20 private_modules=["_harwell_boeing"], all=__all__, 

21 attribute=name)