Skip to content

Commit 6c38e7b

Browse files
committed
Fix tests for 3.9
1 parent 8762eec commit 6c38e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_uart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ async def mock_connect(loop, protocol_factory, *args, **kwargs):
139139

140140

141141
@pytest.fixture
142-
def gw():
142+
async def gw():
143143
gw = uart.Gateway(MagicMock())
144144
gw._transport = MagicMock()
145145
return gw

0 commit comments

Comments
 (0)