Skip to content

Commit 88f5d9d

Browse files
Add test timeout (#28)
1 parent 6c9fafe commit 88f5d9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dependencies = [
3535
[project.optional-dependencies]
3636
test = [
3737
"pytest >=8,<9",
38+
"pytest-timeout",
3839
"trio >=0.27.0,<0.28",
3940
"mypy",
4041
"ruff",
@@ -54,3 +55,6 @@ source = ["zmq_anyio", "tests"]
5455

5556
[tool.coverage.report]
5657
show_missing = true
58+
59+
[tool.pytest.ini_options]
60+
timeout = 10

0 commit comments

Comments
 (0)