|
|
@@ -14,6 +14,11 @@ filterwarnings =
|
|
|
# full move to httpx2 is its own change. Match by message text so the
|
|
|
# filter holds regardless of which warning class starlette uses.
|
|
|
ignore:Using .httpx. with .starlette.testclient. is deprecated
|
|
|
+ # asyncpg's query-cancel task on PostgreSQL, still pending when a test
|
|
|
+ # worker shuts down and finalized then (KeyError '__import__'), so it is
|
|
|
+ # pinned on whatever test ran last. conftest waits for these per test;
|
|
|
+ # this hides the rest. Only this coroutine: other unraisables still show.
|
|
|
+ ignore:Exception ignored in. <coroutine object Connection._cancel:pytest.PytestUnraisableExceptionWarning
|
|
|
markers =
|
|
|
unit: Unit tests (fast, no external deps)
|
|
|
integration: Integration tests (slower, test full API)
|