Skip to content

Commit 8d2649c

Browse files
author
Fabian Beitler
committed
add missing async statement
1 parent 4227750 commit 8d2649c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_client_async_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_factory_protocol_made_connection(self):
9494

9595
#@mock.patch('pymodbus.client.asynchronous.async_io.asyncio.ensure_future')
9696
@future_or_task_decorator()
97-
def test_factory_protocol_lost_connection(self, mock_async):
97+
async def test_factory_protocol_lost_connection(self, mock_async):
9898
mock_protocol_class = mock.MagicMock()
9999
mock_loop = mock.MagicMock()
100100
client = ReconnectingAsyncioModbusTcpClient(protocol_class=mock_protocol_class, loop=mock_loop)

0 commit comments

Comments
 (0)