From: Matthew Fernandez Date: Fri, 22 Apr 2022 04:17:57 +0000 (-0700) Subject: tests: fix 'gvtest' import adjustment X-Git-Tag: 4.0.0~76^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=108b4be87fccfe588b0d0d28bf78f0ce4b1e6f5e;p=graphviz tests: fix 'gvtest' import adjustment This appended path was clearly wrong. Yet this test was running (and passing) in CI. It seems somehow `./rtest` is already in the `$PYTHONPATH` in CI. A bit mysterious, but this correction lets the test suite run locally correctly too. --- diff --git a/tests/regression_tests/large/test_large_graphs.py b/tests/regression_tests/large/test_large_graphs.py index 548f6af48..7c7741605 100644 --- a/tests/regression_tests/large/test_large_graphs.py +++ b/tests/regression_tests/large/test_large_graphs.py @@ -9,7 +9,7 @@ import subprocess import sys import pytest -sys.path.append(os.path.join(os.path.dirname(__file__), "../rtest")) +sys.path.append(os.path.join(os.path.dirname(__file__), "../../../rtest")) from gvtest import dot #pylint: disable=wrong-import-position @pytest.mark.skipif(platform.system() == "Windows" and