lvwerra HF staff commited on
Commit
cb2b45f
1 Parent(s): d34748a

Update python_interpreter_tool.py

Browse files
Files changed (1) hide show
  1. python_interpreter_tool.py +2 -2
python_interpreter_tool.py CHANGED
@@ -31,8 +31,8 @@ class PythonInterpreter(Tool):
31
  try:
32
  exec_globals = {}
33
  with capture_stdout() as output:
34
- with time_limit(self.timeout):
35
- exec(task, exec_globals)
36
 
37
  captured_output = output.getvalue().strip()
38
  except Exception as e:
 
31
  try:
32
  exec_globals = {}
33
  with capture_stdout() as output:
34
+ #with time_limit(self.timeout):
35
+ exec(task, exec_globals)
36
 
37
  captured_output = output.getvalue().strip()
38
  except Exception as e: