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 Cantera#1354, the relative path to the test/work/python
directory has changed.
  • Loading branch information
speth committed Aug 10, 2022
1 parent 04ba868 commit db9f8f4
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 db9f8f4

Please sign in to comment.