]> granicus.if.org Git - graphviz/commitdiff
tests: [nfc] use newer 'dot' helper in #1902
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Feb 2022 20:36:13 +0000 (07:36 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Feb 2022 02:07:44 +0000 (18:07 -0800)
rtest/test_regression.py

index 39eeea5f8d08c768ce80ec2124849e3dd97c23d7..18d1fa8315582959b2da4f5c75de5a352e825a9b 100644 (file)
@@ -804,7 +804,7 @@ def test_1902():
 
   # ask Graphviz to process it, which should generate a segfault if this bug
   # has been reintroduced
-  subprocess.check_call(['dot', '-Tsvg', '-o', os.devnull, input])
+  dot('svg', input)
 
 # root directory of this checkout
 ROOT = Path(__file__).parent.parent.resolve()