File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -735,8 +735,6 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
735735
736736 asyncio_marker = _resolve_asyncio_marker (metafunc .definition )
737737 if asyncio_marker is None :
738- if _uses_asyncio_fixtures (metafunc ):
739- _add_fixture_to_metafunc (metafunc , "event_loop_policy" )
740738 return
741739 marker_loop_scope , marker_selected_factory_names = _parse_asyncio_marker (
742740 asyncio_marker
Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ def test_parametrized_loop_policy_does_not_parametrize_sync_tests(
169169 asyncio.get_event_loop_policy(),
170170 asyncio.get_event_loop_policy(),
171171 ],
172- ids=["policy_a", "policy_b"],
173172 )
174173 def event_loop_policy(request):
175174 return request.param
@@ -201,7 +200,6 @@ def test_parametrized_loop_policy_parametrizes_sync_tests_with_async_fixtures(
201200 asyncio.get_event_loop_policy(),
202201 asyncio.get_event_loop_policy(),
203202 ],
204- ids=["policy_a", "policy_b"],
205203 )
206204 def event_loop_policy(request):
207205 return request.param
@@ -232,7 +230,6 @@ def test_parametrized_loop_policy_parametrizes_auto_mode_async_fixtures(
232230 asyncio.get_event_loop_policy(),
233231 asyncio.get_event_loop_policy(),
234232 ],
235- ids=["policy_a", "policy_b"],
236233 )
237234 def event_loop_policy(request):
238235 return request.param
You can’t perform that action at this time.
0 commit comments