Skip to content

Commit 04700b1

Browse files
author
Diptorup Deb
committed
Fixes and small updates to various test cases.
1 parent 83a0e26 commit 04700b1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

numba_dpex/tests/_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import dpctl
1111
import pytest
1212

13-
from numba_dpex import config, numba_version
13+
from numba_dpex import config, numba_sem_version
1414

1515

1616
def has_opencl_gpu():
@@ -113,7 +113,7 @@ def is_windows():
113113
]
114114

115115
skip_no_numba056 = pytest.mark.skipif(
116-
numba_version < (0, 56), reason="Need Numba 0.56 or higher"
116+
numba_sem_version < (0, 56), reason="Need Numba 0.56 or higher"
117117
)
118118

119119
skip_no_gdb = pytest.mark.skipif(

numba_dpex/tests/misc/test_dpctl_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
import dpctl
66

7-
from numba_dpex import dpctl_version
7+
from numba_dpex import dpctl_sem_version
88

99

1010
def test_dpctl_version():
1111
dpctl_v = dpctl.__version__
12-
computed_v = ".".join(str(n) for n in dpctl_version)
12+
computed_v = ".".join(str(n) for n in dpctl_sem_version)
1313
n = len(computed_v)
1414
assert n <= len(dpctl_v)
1515
assert computed_v == dpctl_v[:n]

0 commit comments

Comments
 (0)