Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit a983e60

Browse files
committed
Skip tests in test_ml using @skip_numba_jit
1 parent a836a1f commit a983e60

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

sdc/tests/test_ml.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@
3535
count_parfor_OneDs, count_array_OneDs,
3636
count_parfor_OneD_Vars, count_array_OneD_Vars,
3737
dist_IR_contains, check_numba_version,
38-
TestCase)
38+
skip_numba_jit, TestCase)
3939

4040

4141
class TestML(TestCase):
4242

43+
@skip_numba_jit
4344
def test_logistic_regression(self):
4445
def test_impl(n, d):
4546
iterations = 3
@@ -58,6 +59,7 @@ def test_impl(n, d):
5859
self.assertEqual(count_array_OneDs(), 3)
5960
self.assertEqual(count_parfor_OneDs(), 3)
6061

62+
@skip_numba_jit
6163
def test_logistic_regression_acc(self):
6264
def test_impl(N, D):
6365
iterations = 3
@@ -79,6 +81,7 @@ def test_impl(N, D):
7981
self.assertEqual(count_array_OneDs(), 3)
8082
self.assertEqual(count_parfor_OneDs(), 4)
8183

84+
@skip_numba_jit
8285
def test_linear_regression(self):
8386
def test_impl(N, D):
8487
p = 2
@@ -98,6 +101,7 @@ def test_impl(N, D):
98101
self.assertEqual(count_array_OneDs(), 5)
99102
self.assertEqual(count_parfor_OneDs(), 3)
100103

104+
@skip_numba_jit
101105
def test_kde(self):
102106
def test_impl(n):
103107
X = np.ones(n)

0 commit comments

Comments
 (0)