From: Matthew Fernandez Date: Tue, 1 Feb 2022 10:19:29 +0000 (+1100) Subject: test 1449: [nfc] do not capture stdout X-Git-Tag: 3.0.0~45^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7b96e6abf06310e6f63f3ef33f46c80a43ec1d3;p=graphviz test 1449: [nfc] do not capture stdout Graphviz is being passed `-o /dev/null` in this test case, so there is no need to capture stdout. --- diff --git a/rtest/test_regression.py b/rtest/test_regression.py index 267d52f45..a9e84c646 100644 --- a/rtest/test_regression.py +++ b/rtest/test_regression.py @@ -487,7 +487,7 @@ def test_1449(): # start Graphviz with subprocess.Popen(["dot", "-Tsvg", "-o", os.devnull], - stdin=subprocess.PIPE, stdout=subprocess.PIPE, + stdin=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) as p: # pass it some input that uses the SVG color scheme