]> granicus.if.org Git - graphviz/commit
tests: rewrite 'Popen;communicate' code to use 'check_output'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 7 Dec 2021 01:30:04 +0000 (17:30 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 12 Dec 2021 01:28:52 +0000 (17:28 -0800)
commit5e71ea81ada714c667f0b7fc1e1b24fa43125d3a
treeb0831e797ab312569148e75c0153085078f80f4a
parent297ed0bc7b61b2a6616c335726334836c8ffcc10
tests: rewrite 'Popen;communicate' code to use 'check_output'

When this testing code was first written, it looks like it was overlooked that
`check_output` supports the `input` parameter from Python 3.4 onwards. With
this, the relevant code can be written more concisely.
rtest/test_examples.py
rtest/test_regression.py