Skip to content

Commit 5c1a7a7

Browse files
committed
skip test if numba JIT is disabled
1 parent ecaead2 commit 5c1a7a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_fastmath.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
import numba
12
import numpy as np
3+
import pytest
24
from numba import njit
35

46
from stumpy import fastmath
57

8+
if numba.config.DISABLE_JIT:
9+
pytest.skip("Skipping Tests JIT is disabled", allow_module_level=True)
10+
611

712
def test_set():
813
# Test the _set and _reset function in fastmath.py

0 commit comments

Comments
 (0)