pvarki / python-rasenmaeher-api

1 stars 0 forks source link

DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined #94

Open rambo opened 6 months ago

rambo commented 6 months ago

Replacing the event_loop fixture with a custom implementation is deprecated and will lead to errors in the future. If you want to request an asyncio event loop with a scope other than function scope, use the "scope" argument to the asyncio mark when marking the tests. If you want to return different types of event loops, use the event_loop_policy fixture.

rambo commented 5 months ago

We have some weird side-effects so doing this is far from simple, a lot of the tests need to be re-written. We also can't update dependencies before that is done.