(self, code, timeout, use_process: bool)
| 22 | |
| 23 | class CodeExecutor: |
| 24 | def __init__(self, code, timeout, use_process: bool): |
| 25 | self.code = format_code(code) |
| 26 | self.timeout = timeout |
| 27 | self.error = '' |
| 28 | self.use_process = use_process |
| 29 | |
| 30 | def execute_code(self, return_val): |
| 31 | try: |
nothing calls this directly
no test coverage detected