We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26926c commit fe12f67Copy full SHA for fe12f67
1 file changed
tests/test_examples.py
@@ -72,7 +72,9 @@ def test_scripts_can_run(script_path: Path, tmp_path: Path) -> None:
72
# and then test its behavior.
73
# This allows the example to be useful to users who don't have Zarr installed, but also testable.
74
resave_script(script_path, dest_path)
75
- result = subprocess.run(["uv", "run", str(dest_path)], capture_output=True, text=True)
+ result = subprocess.run(
76
+ ["uv", "run", "--refresh", str(dest_path)], capture_output=True, text=True
77
+ )
78
assert result.returncode == 0, (
79
f"Script at {script_path} failed to run. Output: {result.stdout} Error: {result.stderr}"
80
)
0 commit comments