From 231feda2c8fe1b3a7a80ce62ef3e3c7cc6e96868 Mon Sep 17 00:00:00 2001 From: Raphael Pierzina Date: Fri, 3 Apr 2015 22:45:26 +0200 Subject: [PATCH] Use logger with name of local var logger_name --- qutebrowser/test/utils/debug/test_log_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/test/utils/debug/test_log_time.py b/qutebrowser/test/utils/debug/test_log_time.py index f64f81ce1..008d726e7 100644 --- a/qutebrowser/test/utils/debug/test_log_time.py +++ b/qutebrowser/test/utils/debug/test_log_time.py @@ -32,7 +32,7 @@ def test_log_time(caplog): logger_name = 'qt-tests' with caplog.atLevel(logging.DEBUG, logger=logger_name): - with debug.log_time(logging.getLogger(), action='foobar'): + with debug.log_time(logging.getLogger(logger_name), action='foobar'): time.sleep(0.1) records = caplog.records()