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

Commit 469bdb8

Browse files
committed
some changes
1 parent e7034a2 commit 469bdb8

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

sdc/config.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ def strtobool(val):
6666
Default 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-
7769
test_expected_failure = strtobool(os.getenv('SDC_TEST_EXPECTED_FAILURE', 'False'))
7870
'''
7971
If True then replaces skip decorators to expectedFailure decorator.

sdc/tests/test_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ def gen_df_int_cols(input_data, with_index=False):
9494

9595

9696
def 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

166169
def 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

0 commit comments

Comments
 (0)