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

Commit f2d81fb

Browse files
committed
Skip hanging tests in test_basic
1 parent 87026a5 commit f2d81fb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

sdc/tests/test_basic.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def _follow_cpython(self, ptr, seed=2):
8686

8787
class TestBasic(BaseTest):
8888

89+
@skip_numba_jit("hang with numba.jit. ok with sdc.jit")
8990
def test_getitem(self):
9091
def test_impl(N):
9192
A = np.ones(N)
@@ -99,6 +100,7 @@ def test_impl(N):
99100
self.assertEqual(count_array_REPs(), 0)
100101
self.assertEqual(count_parfor_REPs(), 0)
101102

103+
@skip_numba_jit("Failed in nopython mode pipeline (step: Preprocessing for parfors)")
102104
def test_setitem1(self):
103105
def test_impl(N):
104106
A = np.arange(10) + 1.0
@@ -111,6 +113,7 @@ def test_impl(N):
111113
self.assertEqual(count_array_REPs(), 0)
112114
self.assertEqual(count_parfor_REPs(), 0)
113115

116+
@skip_numba_jit("Failed in nopython mode pipeline (step: Preprocessing for parfors)")
114117
def test_setitem2(self):
115118
def test_impl(N):
116119
A = np.arange(10) + 1.0
@@ -123,6 +126,7 @@ def test_impl(N):
123126
self.assertEqual(count_array_REPs(), 0)
124127
self.assertEqual(count_parfor_REPs(), 0)
125128

129+
@skip_numba_jit("hang with numba.jit. ok with sdc.jit")
126130
def test_astype(self):
127131
def test_impl(N):
128132
return np.ones(N).astype(np.int32).sum()
@@ -152,6 +156,7 @@ def test_impl(N):
152156
# self.assertEqual(count_array_REPs(), 0)
153157
# self.assertEqual(count_parfor_REPs(), 0)
154158

159+
@skip_numba_jit("hang with numba.jit. ok with sdc.jit")
155160
def test_inplace_binop(self):
156161
def test_impl(N):
157162
A = np.ones(N)
@@ -165,6 +170,7 @@ def test_impl(N):
165170
self.assertEqual(count_array_REPs(), 0)
166171
self.assertEqual(count_parfor_REPs(), 0)
167172

173+
@skip_numba_jit("hang with numba.jit. ok with sdc.jit")
168174
def test_getitem_multidim(self):
169175
def test_impl(N):
170176
A = np.ones((N, 3))
@@ -178,6 +184,7 @@ def test_impl(N):
178184
self.assertEqual(count_array_REPs(), 0)
179185
self.assertEqual(count_parfor_REPs(), 0)
180186

187+
@skip_numba_jit("Failed in nopython mode pipeline (step: Preprocessing for parfors)")
181188
def test_whole_slice(self):
182189
def test_impl(N):
183190
X = np.ones((N, 4))
@@ -190,6 +197,7 @@ def test_impl(N):
190197
self.assertEqual(count_array_REPs(), 0)
191198
self.assertEqual(count_parfor_REPs(), 0)
192199

200+
@skip_numba_jit("hang with numba.jit. ok with sdc.jit")
193201
def test_strided_getitem(self):
194202
def test_impl(N):
195203
A = np.ones(N)
@@ -229,6 +237,7 @@ def f():
229237

230238
pd.testing.assert_series_equal(self.jit(f)(), f())
231239

240+
@skip_numba_jit("Failed in nopython mode pipeline (step: Preprocessing for parfors)")
232241
def test_reduce(self):
233242
import sys
234243
dtypes = ['float32', 'float64', 'int32', 'int64']
@@ -423,6 +432,7 @@ def test_impl(N):
423432
finally:
424433
sdc.distributed_analysis.auto_rebalance = False
425434

435+
@skip_numba_jit("Failed in nopython mode pipeline (step: Preprocessing for parfors)")
426436
def test_transpose(self):
427437
def test_impl(n):
428438
A = np.ones((30, 40, 50))

0 commit comments

Comments
 (0)