Skip to content

Commit e965e99

Browse files
authored
fix: remove cache dir in pixi build tests (#3116)
1 parent 110acb9 commit e965e99

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/integration_python/test_docs_examples.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
def test_doc_pixi_projects(
2626
pixi_project: Path, pixi: Path, tmp_pixi_workspace: Path, snapshot: SnapshotAssertion
2727
) -> None:
28-
# TODO: Setting the cache dir shouldn't be necessary!
29-
env = {"PIXI_CACHE_DIR": str(tmp_pixi_workspace.joinpath("pixi_cache"))}
30-
3128
# Remove existing .pixi folders
3229
shutil.rmtree(pixi_project.joinpath(".pixi"), ignore_errors=True)
3330

@@ -39,7 +36,7 @@ def test_doc_pixi_projects(
3936

4037
# Run task 'start'
4138
output = verify_cli_command(
42-
[pixi, "run", "--locked", "--manifest-path", manifest, "start"], env=env
39+
[pixi, "run", "--locked", "--manifest-path", manifest, "start"],
4340
)
4441
assert output.stdout == snapshot
4542

0 commit comments

Comments
 (0)