From 20aa58cd7a375dc7fd24e1d18b3c26636e029f39 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 9 Aug 2022 19:36:15 -0400 Subject: [PATCH] Fix use of test/work directory by Python tests Due to moving tests from interfaces/cython/cantera/test to test/python in #1354, the relative path to the test/work/python directory has changed. --- test/python/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python/utilities.py b/test/python/utilities.py index ec184ff1c9..52d8a2b09e 100644 --- a/test/python/utilities.py +++ b/test/python/utilities.py @@ -55,7 +55,7 @@ def setUpClass(cls): # an in-source test, create the directory in the root # test/work directory. Otherwise, create a system level # temporary directory - root_dir = Path(__file__).parents[4].resolve() + root_dir = Path(__file__).parents[2].resolve() if (root_dir / "SConstruct").is_file(): cls.test_work_path = root_dir / "test" / "work" / "python" cls.using_tempfile = False