返回 DeepSeek-Reasonix
1 #!/usr/bin/env bash
2 set -e
3 export PYTHONPYCACHEPREFIX="$(mktemp -d)"
4 python3 - <<'PY'
5 import urls
6 assert urls.article_url("Hello, World!") == "/articles/hello-world"
7 assert urls.article_url("a b") == "/articles/a-b"
8 PY
9
9 lines BASH