loubnabnl HF staff commited on
Commit
316071f
1 Parent(s): 2a1d3d6

add compilation error when unable to get function from tmp_sol

Browse files
Files changed (1) hide show
  1. testing_util.py +1 -0
testing_util.py CHANGED
@@ -153,6 +153,7 @@ def run_test(sample, test=None, debug=False):
153
  signal.alarm(0)
154
  e = sys.exc_info()
155
  print(f"unable to get function error = {e}")
 
156
  return results
157
 
158
  for index, inputs in enumerate(in_outs["inputs"]):
 
153
  signal.alarm(0)
154
  e = sys.exc_info()
155
  print(f"unable to get function error = {e}")
156
+ results.append(-2)
157
  return results
158
 
159
  for index, inputs in enumerate(in_outs["inputs"]):