From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22BB410E323 for ; Fri, 10 Mar 2023 19:42:14 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Fri, 10 Mar 2023 20:41:15 +0100 Message-Id: <20230310194125.14781-10-zbigniew.kempczynski@intel.com> In-Reply-To: <20230310194125.14781-1-zbigniew.kempczynski@intel.com> References: <20230310194125.14781-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 09/19] scripts/igt_doc.py: make it compatible with Python 3.6 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab Acked-by: Zbigniew KempczyƄski --- scripts/igt_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py index 1d1d7856f2..0795272275 100755 --- a/scripts/igt_doc.py +++ b/scripts/igt_doc.py @@ -760,7 +760,7 @@ class TestList: result = subprocess.run([ f"{IGT_BUILD_PATH}/{IGT_RUNNER}", "-L", "-t", self.min_test_prefix, f"{IGT_BUILD_PATH}/tests"], check = True, - capture_output = True, text = True) + stdout=subprocess.PIPE, universal_newlines=True) except subprocess.CalledProcessError as sub_err: print(sub_err.stderr) print("Error:", sub_err) -- 2.34.1