]> granicus.if.org Git - graphviz/commitdiff
test 1449: [nfc] do not capture stdout
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 10:19:29 +0000 (21:19 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 4 Feb 2022 05:58:18 +0000 (16:58 +1100)
Graphviz is being passed `-o /dev/null` in this test case, so there is no need
to capture stdout.

rtest/test_regression.py

index 267d52f455917c8ab2e83674f11fcc811c80d764..a9e84c646596433d6ae88f2109bc9f78b128f4e3 100644 (file)
@@ -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