MCPcopy Index your code
hub / github.com/stumpy-dev/stumpy / test_get_fastmath_value

Function test_get_fastmath_value

tests/test_fastmath.py:59–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58@pytest.mark.skipif(numba.config.DISABLE_JIT, reason="JIT Disabled")
59def test_get_fastmath_value(): # pragma: no cover
60 njit_funcs = cache.get_njit_funcs()
61 for module_name, func_name in njit_funcs:
62 module = importlib.import_module(f".{module_name}", package="stumpy")
63 func = getattr(module, func_name)
64 ref = func.targetoptions["fastmath"]
65 cmp = _get_fastmath_value(module_name, func_name)
66 assert ref == cmp

Callers

nothing calls this directly

Calls 1

_get_fastmath_valueFunction · 0.90

Tested by

no test coverage detected