diff --git a/pytest.ini b/pytest.ini
index fca20058095e29a943924433a57207dd9250e687..2f4c80e307508cb30bd6635716963f88f6796738 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,2 +1,2 @@
 [pytest]
-asyncio_mode = legacy
+asyncio_mode = auto