diff --git a/pyproject.toml b/pyproject.toml index 58b8246..66ab60e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ docs = [ "enum-tools>=0.11.0", "sphinx-rtd-theme>=2.0.0", ] -testing = ["Flask>=3.0.2", "anyio[trio]>=4.3.0", "pytest-env>=1.1.3"] +testing = ["Flask>=3.0.2", "anyio>=4.3.0", "pytest-env>=1.1.3"] dev = ["vshieldpy[testing]", "ruff"] [project.urls] diff --git a/tests/conftest.py b/tests/conftest.py index e9f3aa0..3302254 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,6 +19,9 @@ def test_server(): }, ) thread.start() +@pytest.fixture +def anyio_backend(): + return "asyncio" client = vshieldpy.Client()