From: Matthew Fernandez Date: Tue, 28 Jul 2020 14:35:40 +0000 (+0000) Subject: Revert "Merge branch '99ea7101-96e1-4730-a6bb-60a7cef18289' into 'master'" X-Git-Tag: 2.46.0~20^2^2~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3079239f3840c1f0576554f3f8e89b97c44e9110;p=graphviz Revert "Merge branch '99ea7101-96e1-4730-a6bb-60a7cef18289' into 'master'" This reverts merge request !1472 --- diff --git a/rtest/test_examples.py b/rtest/test_examples.py index 412795ce4..993722e02 100644 --- a/rtest/test_examples.py +++ b/rtest/test_examples.py @@ -3,7 +3,6 @@ import os import platform import pytest -import shutil import subprocess def c_compiler(): @@ -33,24 +32,3 @@ def test_compile_example(src): else: subprocess.check_call([cc, '-o', os.devnull, filepath] + ['-l{}'.format(l) for l in libs]) - -@pytest.mark.parametrize('src', ['addrings', 'attr', 'bbox', 'bipart', - 'chkedges', 'clustg', 'collapse', 'cycle', 'deghist', 'delmulti', 'depath', - 'flatten', 'group', 'indent', 'path', 'scale', 'span', 'treetoclust', - 'addranks', 'anon', 'bb', 'chkclusters', 'cliptree', 'col', 'color', - 'dechain', 'deledges', 'delnodes', 'dijkstra', 'get-layers-list', 'knbhd', - 'maxdeg', 'rotate', 'scalexy', 'topon']) -def test_gvpr_example(src): - '''check GVPR can parse the given example''' - - # skip this test if GVPR is unavailable - if shutil.which('gvpr') is None: - pytest.skip('GVPR not available') - - # construct an absolute path to the example - path = os.path.join(os.path.abspath(os.path.dirname(__file__)), - '../cmd/gvpr/lib', src) - - # run GVPR with the given script - with open(os.devnull, 'rt') as nul: - subprocess.check_call(['gvpr', '-f', path], stdin=nul)