Skip to content

Commit c829d10

Browse files
committed
Stop using the deprecated event_loop fixture
pytest-dev/pytest-asyncio#1106
1 parent 4a8b63a commit c829d10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def mock_asynczeroconf():
8282

8383

8484
@pytest.fixture
85-
async def controller_and_unpaired_accessory(request, mock_asynczeroconf, event_loop, id_factory):
85+
async def controller_and_unpaired_accessory(request, mock_asynczeroconf, id_factory):
8686
available_port = next_available_port()
8787

8888
config_file = tempfile.NamedTemporaryFile(delete=False)
@@ -133,7 +133,7 @@ def _shutdown():
133133

134134

135135
@pytest.fixture
136-
async def controller_and_paired_accessory(request, event_loop, mock_asynczeroconf, id_factory):
136+
async def controller_and_paired_accessory(request, mock_asynczeroconf, id_factory):
137137
available_port = next_available_port()
138138

139139
config_file = tempfile.NamedTemporaryFile(delete=False)
@@ -224,7 +224,7 @@ async def pairing(controller_and_paired_accessory):
224224

225225

226226
@pytest.fixture
227-
async def pairings(request, controller_and_paired_accessory, event_loop):
227+
async def pairings(request, controller_and_paired_accessory):
228228
"""Returns a pairing of pairngs."""
229229
left = controller_and_paired_accessory.aliases["alias"]
230230

0 commit comments

Comments
 (0)