fix: fix woodpecker pipelines
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from asyncio import AbstractEventLoopPolicy, DefaultEventLoopPolicy
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def event_loop_policy():
|
||||
import asyncio
|
||||
|
||||
return asyncio.DefaultEventLoopPolicy()
|
||||
def event_loop_policy() -> AbstractEventLoopPolicy:
|
||||
return DefaultEventLoopPolicy()
|
||||
|
||||
Reference in New Issue
Block a user