fix some problems with old python
This commit is contained in:
@@ -173,7 +173,7 @@ class Run:
|
||||
|
||||
def expected_stdout_presented(self) -> bool:
|
||||
return self.__t_stdout is not None
|
||||
|
||||
|
||||
def get_expected_stdout(self) -> str:
|
||||
assert self.__t_stdout is not None
|
||||
return self.__t_stdout
|
||||
@@ -499,7 +499,7 @@ class Tester:
|
||||
|
||||
end = now()
|
||||
|
||||
print(f"{"=" * 30}")
|
||||
print("=" * 30)
|
||||
print(f"{result.passed()}/{result.n()} tests passed in {end - start}ms")
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user