Skip to content

Commit 9fa62e0

Browse files
committed
Fix test for asyncio
1 parent 3b4def7 commit 9fa62e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ testpaths = ["tests"]
5050
python_files = "test_*.py"
5151
python_functions = "test_*"
5252
addopts = "-ra --strict-markers"
53-
asyncio_mode = "strict"
5453
markers = [
5554
"asyncio: mark a test as a coroutine that should be run by pytest-asyncio",
5655
]
5756

57+
[tool.pytest-asyncio]
58+
mode = "strict"
59+
5860
[build-system]
5961
requires = ["hatchling", "uv-dynamic-versioning"]
6062
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)