test: remove dead anyio_backend fixture and unused pytest imports

The anyio_backend fixture is only consumed by pytest-anyio, which is not a
dependency of this project (we use pytest-asyncio with asyncio_mode=auto).
Also drop the unused pytest import from test_sanity.py.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 13:13:50 -04:00
parent 74f0086664
commit d819a184a1
2 changed files with 0 additions and 8 deletions
-7
View File
@@ -1,8 +1 @@
"""Shared pytest fixtures for backend tests."""
import asyncio
import pytest
@pytest.fixture
def anyio_backend():
return "asyncio"
-1
View File
@@ -1,6 +1,5 @@
"""Sanity test to verify pytest infrastructure works."""
import asyncio
import pytest
def test_sync_sanity():