ыщьу ашч
This commit is contained in:
parent
3be527ccd9
commit
1995708fdf
@ -38,7 +38,7 @@ class BaseTester:
|
|||||||
raise TestException("RE")
|
raise TestException("RE")
|
||||||
result = open(join(self.solution.testing_directory, "output.txt"), "r").read()
|
result = open(join(self.solution.testing_directory, "output.txt"), "r").read()
|
||||||
print("got result", result)
|
print("got result", result)
|
||||||
if result.strip() != self.predicted.strip():
|
if result.strip().replace('\r\n', '\n') != self.predicted.strip().replace('\r\n', '\n'):
|
||||||
raise TestException("WA")
|
raise TestException("WA")
|
||||||
|
|
||||||
def after_test(self):
|
def after_test(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user