Skip to content

Commit 1cfb8b4

Browse files
committed
fix: Override UV_PROJECT_ENVIRONMENT in tests
1 parent 0181497 commit 1cfb8b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import functools
22
import json
3+
import os
34
import shlex
45
import subprocess
56
import tomllib
@@ -33,6 +34,7 @@ def run_pipe(cmd: str, cwd=None) -> str:
3334
stdout=subprocess.PIPE,
3435
stderr=subprocess.STDOUT,
3536
cwd=cwd,
37+
env=dict(os.environ, UV_PROJECT_ENVIRONMENT=""),
3638
)
3739
output = sp.stdout.decode()
3840
assert sp.returncode == 0, output

0 commit comments

Comments
 (0)