We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f25b60 commit 850d0b8Copy full SHA for 850d0b8
tests/conftest.py
@@ -1,8 +1,8 @@
1
+from asyncio import Event
2
from unittest.mock import MagicMock
3
from uuid import uuid4
4
5
import pytest
-from anyio._backends._asyncio import Event
6
7
8
@pytest.fixture(scope="session")
tests/testcase.py
@@ -4,7 +4,6 @@
-from anyio import Event
from faststream.broker.core.asyncronous import BrokerAsyncUsecase
9
from faststream.utils.functions import timeout_scope
10
from taskiq import AsyncBroker, TaskiqScheduler
@@ -30,7 +29,7 @@ async def test_task(
30
29
subject: str,
31
broker: BrokerAsyncUsecase[Any, Any],
32
mock: MagicMock,
33
- event: Event,
+ event: asyncio.Event,
34
) -> None:
35
"""Base testcase."""
36
0 commit comments