MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / TaskCaptureOutput

Class TaskCaptureOutput

pythonwhat/local.py:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38class TaskCaptureOutput:
39 def __init__(self, code):
40 self.code = code
41
42 def __call__(self, shell):
43 return run_code(shell.run_code, self.code)
44
45
46class TaskKillProcess:

Callers 1

run_single_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected