4
0

fix some problems with old python

This commit is contained in:
2026-02-15 09:58:55 +03:00
parent ca1c008cce
commit 351b7fb8c5

View File

@@ -173,7 +173,7 @@ class Run:
def expected_stdout_presented(self) -> bool: def expected_stdout_presented(self) -> bool:
return self.__t_stdout is not None return self.__t_stdout is not None
def get_expected_stdout(self) -> str: def get_expected_stdout(self) -> str:
assert self.__t_stdout is not None assert self.__t_stdout is not None
return self.__t_stdout return self.__t_stdout
@@ -499,7 +499,7 @@ class Tester:
end = now() end = now()
print(f"{"=" * 30}") print("=" * 30)
print(f"{result.passed()}/{result.n()} tests passed in {end - start}ms") print(f"{result.passed()}/{result.n()} tests passed in {end - start}ms")
return result return result