()
| 57 | |
| 58 | @pytest.mark.skipif(numba.config.DISABLE_JIT, reason="JIT Disabled") |
| 59 | def 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 |
nothing calls this directly
no test coverage detected