[igt-dev] [PATCH i-g-t v2 09/19] scripts/igt_doc.py: make it compatible with Python 3.6

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Mar 10 19:41:15 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
 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



More information about the igt-dev mailing list