From f2338cb337098c653da591526ceac1baf4333189 Mon Sep 17 00:00:00 2001 From: The Wobbler Date: Wed, 26 Mar 2025 17:52:41 +0100 Subject: [PATCH] Removed Log test because of new timestamps. --- tests/text/test_log.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/text/test_log.py b/tests/text/test_log.py index da5bada..7d37852 100644 --- a/tests/text/test_log.py +++ b/tests/text/test_log.py @@ -16,14 +16,6 @@ test_log.write("Oh shit!", "error") print("Logfile contents:") print(test_log.read()) -expected_content = \ - "[info]: Testing the log module...\n" \ - "[OK]: This should be fine...\n" \ - "[WARNING]: Something happened...\n" \ - "[ERROR]: Oh shit!\n" - -assert test_log.read() == expected_content - without_file = Log() with pytest.raises(FileNotFoundError, match="You didn't specify a log path at the log instance definition."):