From 18cc74b8d0cc788f0162775412a618477571ad35 Mon Sep 17 00:00:00 2001 From: Thomas Hisch Date: Wed, 19 Sep 2018 15:18:37 +0200 Subject: [PATCH] Remove useless comment --- src/_pytest/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/logging.py b/src/_pytest/logging.py index f4a4801b8..ba55ebb42 100644 --- a/src/_pytest/logging.py +++ b/src/_pytest/logging.py @@ -436,7 +436,7 @@ class LoggingPlugin(object): if self.log_file_handler is not None: with catching_logs(self.log_file_handler, level=self.log_file_level): - yield # run all the tests + yield else: yield