Spaces:
Running
Running
remove print
Browse files- 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 |
-
|
|
|
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()
|