From 3f5fb0de9e537e371ac70767545c6491b843557c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 27 Jan 2020 05:40:59 +0100 Subject: [PATCH] tests: hide git output when checking local checkout --- qubes/tests/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index 489802e5..60ed9a7e 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -105,7 +105,8 @@ else: try: in_git = subprocess.check_output( - ['git', 'rev-parse', '--show-toplevel']).decode().strip() + ['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL + ).decode().strip() qubes.log.LOGPATH = '/tmp' qubes.log.LOGFILE = '/tmp/qubes.log' except subprocess.CalledProcessError: