./pytest.sh -k name_of_test to run a test

This is for 0.65.x branch only - in 1.0 you can run 'uv run pytest' directly.
This commit is contained in:
Simon Willison 2026-09-08 10:20:05 -07:00
commit 47c561d9b6

5
pytest.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/zsh
set -eu
cd -- "${0:A:h}"
exec uv run --with-editable '.[test]' pytest "$@"