loubnabnl HF staff commited on
Commit
d4ef3dc
1 Parent(s): 5f27f05

remove print

Browse files
Files changed (1) hide show
  1. testing_util.py +2 -1
testing_util.py CHANGED
@@ -203,7 +203,8 @@ def run_test(sample, test=None, debug=False):
203
  except Exception as e:
204
  signal.alarm(0)
205
  faulthandler.disable()
206
- print(f"Standard input runtime error or time limit exceeded error = {e}")
 
207
  results.append(-1)
208
  continue
209
  faulthandler.disable()
 
203
  except Exception as e:
204
  signal.alarm(0)
205
  faulthandler.disable()
206
+ if debug:
207
+ print(f"Standard input runtime error or time limit exceeded error = {e}")
208
  results.append(-1)
209
  continue
210
  faulthandler.disable()