summaryrefslogtreecommitdiff
path: root/tests/frontend/rebuild.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frontend/rebuild.py')
-rw-r--r--tests/frontend/rebuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/rebuild.py b/tests/frontend/rebuild.py
index 67eab9bde..cf517f3c1 100644
--- a/tests/frontend/rebuild.py
+++ b/tests/frontend/rebuild.py
@@ -21,7 +21,7 @@ def strict_args(args, strict):
@pytest.mark.datafiles(DATA_DIR)
@pytest.mark.parametrize("strict", ["strict", "non-strict"])
def test_rebuild(datafiles, cli, strict):
- project = os.path.join(datafiles.dirname, datafiles.basename)
+ project = str(datafiles)
# First build intermediate target.bst
result = cli.run(project=project, args=strict_args(['build', 'target.bst'], strict))