Skip to content

Commit 7f0138d

Browse files
committed
Try abspath
1 parent f1b7eac commit 7f0138d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spin/tests/test_build_cmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_debug_builds(example_pkg):
4343

4444
def test_prefix_builds(example_pkg):
4545
"""does spin build --prefix create a build-install directory with the correct structure?"""
46-
spin("build", f"--prefix={os.path.normpath('/foobar/')}")
46+
spin("build", f"--prefix={os.path.abspath('/foobar')}")
4747
assert (Path("build-install") / Path("foobar")).exists()
4848

4949

0 commit comments

Comments
 (0)