]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix Python 3.6 Incompatibility in CLI Tests
authorW. Felix Handte <w@felixhandte.com>
Thu, 9 Mar 2023 17:46:37 +0000 (12:46 -0500)
committerW. Felix Handte <w@felixhandte.com>
Thu, 9 Mar 2023 17:46:37 +0000 (12:46 -0500)
tests/cli-tests/run.py

index 45af5124b31f9cd7efd3c335dea323e233ea022a..a2e1c1f86df66a72405cef0e20e92af58d1045bb 100755 (executable)
@@ -535,7 +535,8 @@ class TestSuite:
             subprocess.run(
                 args=[script],
                 stdin=subprocess.DEVNULL,
-                capture_output=True,
+                stdout=subprocess.PIPE,
+                stderr=subprocess.PIPE,
                 cwd=cwd,
                 env=env,
                 check=True,