Skip to content

Commit

Permalink
Fix use of test/work directory by Python tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
speth authored and bryanwweber committed Aug 11, 2022
1 parent 47b9d67 commit 20aa58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20aa58c

Please sign in to comment.