3737import sdc
3838from sdc .tests .test_utils import (count_array_REPs , count_parfor_REPs ,
3939 count_parfor_OneDs , count_array_OneDs , count_array_OneD_Vars ,
40- dist_IR_contains , get_rank , get_start_end , check_numba_version )
40+ dist_IR_contains , get_rank , get_start_end , check_numba_version ,
41+ skip_numba_jit , TestCase )
4142
4243
4344def get_np_state_ptr ():
@@ -54,7 +55,7 @@ def _copy_py_state(r, ptr):
5455 return ints , index
5556
5657
57- class BaseTest (unittest . TestCase ):
58+ class BaseTest (TestCase ):
5859
5960 def __init__ (self , * args , ** kwargs ):
6061 super ().__init__ (* args , ** kwargs )
@@ -214,6 +215,7 @@ def f():
214215 hpat_f = sdc .jit (f )
215216 hpat_f ()
216217
218+ @skip_numba_jit
217219 def test_inline_locals (self ):
218220 # make sure locals in inlined function works
219221 @sdc .jit (locals = {'B' : types .float64 [:]})
@@ -250,6 +252,7 @@ def test_reduce(self):
250252 self .assertEqual (count_array_REPs (), 0 )
251253 self .assertEqual (count_parfor_REPs (), 0 )
252254
255+ @skip_numba_jit
253256 def test_reduce2 (self ):
254257 import sys
255258 dtypes = ['float32' , 'float64' , 'int32' , 'int64' ]
@@ -277,6 +280,7 @@ def test_reduce2(self):
277280 self .assertEqual (count_array_REPs (), 0 )
278281 self .assertEqual (count_parfor_REPs (), 0 )
279282
283+ @skip_numba_jit
280284 def test_reduce_filter1 (self ):
281285 import sys
282286 dtypes = ['float32' , 'float64' , 'int32' , 'int64' ]
@@ -306,6 +310,7 @@ def test_reduce_filter1(self):
306310 self .assertEqual (count_array_REPs (), 0 )
307311 self .assertEqual (count_parfor_REPs (), 0 )
308312
313+ @skip_numba_jit
309314 def test_array_reduce (self ):
310315 binops = ['+=' , '*=' , '+=' , '*=' , '|=' , '|=' ]
311316 dtypes = ['np.float32' , 'np.float32' , 'np.float64' , 'np.float64' , 'np.int32' , 'np.int64' ]
@@ -365,6 +370,7 @@ def test_impl(N):
365370 self .assertEqual (count_array_OneDs (), 2 )
366371 self .assertEqual (count_parfor_OneDs (), 2 )
367372
373+ @skip_numba_jit
368374 def test_dist_input (self ):
369375 def test_impl (A ):
370376 return len (A )
0 commit comments