From 108b4be87fccfe588b0d0d28bf78f0ce4b1e6f5e Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 21 Apr 2022 21:17:57 -0700 Subject: [PATCH] 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. --- tests/regression_tests/large/test_large_graphs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0