Coverage for src/foapy/ma/__init__.py: 85%
11 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-17 20:45 +0000
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-17 20:45 +0000
1import sys
3# We first need to detect if we're being called as part of the numpy setup
4# procedure itself in a reliable manner.
5try:
6 __FOAPY_SETUP__
7except NameError:
8 __FOAPY_SETUP__ = False
10if __FOAPY_SETUP__: 10 ↛ 11line 10 didn't jump to line 11 because the condition on line 10 was never true
11 sys.stderr.write("Running from numpy source directory.\n")
12else:
13 from ._alphabet import alphabet # noqa: F401
14 from ._intervals import intervals # noqa: F401
15 from ._order import order # noqa: F401
17 __all__ = list({"order", "intervals", "alphabet"})