From 8e95820d78aad446dd88dad991ab7863e2fc6ee7 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 23 Mar 2020 23:53:23 +0100 Subject: [PATCH] Don't show logs in pytest, because they already appear by default --- conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conftest.py b/conftest.py index e90bed9..9b48afa 100644 --- a/conftest.py +++ b/conftest.py @@ -87,12 +87,12 @@ def pytest_configure(config): root = logging.getLogger() root.setLevel(logging.DEBUG) - ch = logging.StreamHandler(sys.stdout) - ch.setLevel(logging.DEBUG) + #ch = logging.StreamHandler(sys.stdout) + #ch.setLevel(logging.DEBUG) #formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') #ch.setFormatter(formatter) - root.addHandler(ch) + #root.addHandler(ch) class Checker():