| 114 | |
| 115 | def test_validation_rejects_decide_timeout(self): |
| 116 | class TimeoutEnvironment(MockEnvironment): |
| 117 | def execute(self, cmd: str, cwd: str | None = None, timeout: int | None = None): |
| 118 | if cmd.startswith("python - <<'PY'"): |
| 119 | raise subprocess.TimeoutExpired(cmd=cmd, timeout=timeout) |
| 120 | return super().execute(cmd, cwd=cwd, timeout=timeout) |
| 121 | |
| 122 | arena = SCMLOneShotArena.__new__(SCMLOneShotArena) |
| 123 | arena.submission = "scml_agent.py" |
no outgoing calls