From 7319c91c5ea32f8537a8ace0cbeddc5756d3b1cf Mon Sep 17 00:00:00 2001 From: Estrella Pan Date: Fri, 10 Jul 2026 13:51:54 +0200 Subject: [PATCH] style: format log rollover test --- backend/src/test/test_conf_log.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/test/test_conf_log.py b/backend/src/test/test_conf_log.py index 3de614cc..72607c83 100644 --- a/backend/src/test/test_conf_log.py +++ b/backend/src/test/test_conf_log.py @@ -61,9 +61,7 @@ class TestRotateBootLog: def boom(self): raise OSError("permission denied") - monkeypatch.setattr( - "logging.handlers.RotatingFileHandler.doRollover", boom - ) + monkeypatch.setattr("logging.handlers.RotatingFileHandler.doRollover", boom) conf_log.rotate_boot_log()