From 47c561d9b6ce48911aca5cc2e1a3e550e02523c5 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 8 Sep 2026 10:20:05 -0700 Subject: [PATCH] ./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. --- pytest.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 pytest.sh diff --git a/pytest.sh b/pytest.sh new file mode 100755 index 00000000..883b40b1 --- /dev/null +++ b/pytest.sh @@ -0,0 +1,5 @@ +#!/bin/zsh +set -eu + +cd -- "${0:A:h}" +exec uv run --with-editable '.[test]' pytest "$@"