Skip to content

Commit e27a8fd

Browse files
committed
Fix unit test failing due to event loop caching issue in pytest-asyncio
1 parent b68a481 commit e27a8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
@pytest.fixture
28-
def gateway():
28+
async def gateway():
2929
return uart.Gateway(api=None)
3030

3131

0 commit comments

Comments
 (0)