This repository was archived by the owner on Feb 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,14 +66,6 @@ def strtobool(val):
6666Default value used to select whether sdc functions would inline
6767'''
6868
69- config_transport_mpi_default = False
70- config_transport_mpi = config_transport_mpi_default
71-
72- numba_compiler_define_nopython_pipeline_orig = None
73- '''
74- Default value for a pointer intended to use as Numba.DefaultPassBuilder.define_nopython_pipeline() in overloaded function
75- '''
76-
7769test_expected_failure = strtobool (os .getenv ('SDC_TEST_EXPECTED_FAILURE' , 'False' ))
7870'''
7971If True then replaces skip decorators to expectedFailure decorator.
Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ def gen_df_int_cols(input_data, with_index=False):
9494
9595
9696def count_array_REPs ():
97+ # from sdc.distributed import Distribution
98+ # vals = sdc.distributed.dist_analysis.array_dists.values()
99+ # return sum([v == Distribution.REP for v in vals])
97100 return 0
98101
99102
@@ -165,7 +168,7 @@ def msg_and_func(msg_or_func=None):
165168
166169def skip_numba_jit (msg_or_func = None ):
167170 msg , func = msg_and_func (msg_or_func )
168- wrapper = unittest .skipUnless ( False , msg or "numba pipeline not supported" )
171+ wrapper = unittest .skip ( msg or "numba pipeline not supported" )
169172 if sdc .config .test_expected_failure :
170173 wrapper = unittest .expectedFailure
171174 # wrapper = lambda f: f # disable skipping
You can’t perform that action at this time.
0 commit comments