Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/_lib/array_api_compat/numpy/__init__.py: 62%

8 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-04-03 06:39 +0000

1from numpy import * # noqa: F403 

2 

3# from numpy import * doesn't overwrite these builtin names 

4from numpy import abs, max, min, round # noqa: F401 

5 

6# These imports may overwrite names from the import * above. 

7from ._aliases import * # noqa: F403 

8 

9# Don't know why, but we have to do an absolute import to import linalg. If we 

10# instead do 

11# 

12# from . import linalg 

13# 

14# It doesn't overwrite np.linalg from above. The import is generated 

15# dynamically so that the library can be vendored. 

16__import__(__package__ + '.linalg') 

17 

18__import__(__package__ + '.fft') 

19 

20from .linalg import matrix_transpose, vecdot # noqa: F401 

21 

22from ..common._helpers import * # noqa: F403 

23 

24__array_api_version__ = '2022.12'