Skip to content

Commit

Permalink
Fix pytest-asyncio warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Oct 8, 2024
1 parent 54b01ed commit 551e60a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ dependencies = [
]

[project.optional-dependencies]
tests = ["pytest", "pytest-asyncio", "sybil>=6"]
typing = ["mypy>=1.4", "fastapi", "flask", "starlette", "aiohttp", "pyramid"]
docs = [
"sphinx>=7.2.2",
"sphinx-design",
Expand All @@ -41,6 +39,7 @@ docs = [
"furo>=2023.8.17",
"sybil",
"pytest",
"pytest-asyncio",
"httpx",
"aiohttp",
"fastapi",
Expand All @@ -49,6 +48,8 @@ docs = [
"starlette",
"sqlalchemy",
]
tests = ["pytest", "pytest-asyncio", "sybil>=6"]
typing = ["mypy>=1.4", "fastapi", "flask", "starlette", "aiohttp", "pyramid"]
dev = ["svcs[tests,typing]", "tox>4", "httpx"]

[project.urls]
Expand Down Expand Up @@ -126,6 +127,7 @@ filterwarnings = [
# Bug in Starlette 0.37.2: https://github.com/encode/starlette/discussions/2603
"ignore:Unclosed <MemoryObject(Send|Receive)Stream>:ResourceWarning:anyio.streams.memory",
]
asyncio_default_fixture_loop_scope = "function"


[tool.coverage.run]
Expand Down

0 comments on commit 551e60a

Please sign in to comment.