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:
@@ -1,8 +1 @@
|
|||||||
"""Shared pytest fixtures for backend tests."""
|
"""Shared pytest fixtures for backend tests."""
|
||||||
import asyncio
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
|
||||||
def anyio_backend():
|
|
||||||
return "asyncio"
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
"""Sanity test to verify pytest infrastructure works."""
|
"""Sanity test to verify pytest infrastructure works."""
|
||||||
import asyncio
|
import asyncio
|
||||||
import pytest
|
|
||||||
|
|
||||||
|
|
||||||
def test_sync_sanity():
|
def test_sync_sanity():
|
||||||
|
|||||||
Reference in New Issue
Block a user