Skip to content

Commit 9a7dc08

Browse files
jsonbaileyclaude
andcommitted
test: Pin pytest-asyncio to strict mode
All 51 async tests are explicitly marked with @pytest.mark.asyncio, so they already match strict mode. Pin asyncio_mode = "strict" to catch any future async test that forgets the marker rather than silently relying on auto-detection. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 544a6b9 commit 9a7dc08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/sdk/server-ai/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ non_interactive = true
6767
[tool.pytest.ini_options]
6868
addopts = ["-ra"]
6969
testpaths = ["tests"]
70+
asyncio_mode = "strict"
7071

7172
[tool.isort]
7273
profile = "black"

0 commit comments

Comments
 (0)