runtime
This commit is contained in:
parent
cef928accd
commit
5e895f239d
@ -37,9 +37,7 @@ class BaseTester:
|
|||||||
f"< {filename} {self.command} > output.txt",
|
f"< {filename} {self.command} > output.txt",
|
||||||
timeout=self.solution.task.time_limit / 1000,
|
timeout=self.solution.task.time_limit / 1000,
|
||||||
)
|
)
|
||||||
if code == 1:
|
if code != 0:
|
||||||
raise TestException("ML")
|
|
||||||
elif code != 0:
|
|
||||||
raise TestException("RE")
|
raise TestException("RE")
|
||||||
result = (
|
result = (
|
||||||
open(join(self.path, "output.txt"), "r")
|
open(join(self.path, "output.txt"), "r")
|
||||||
|
Loading…
Reference in New Issue
Block a user