at 24.05-pre 2.6 kB view raw
1diff --git a/tests/test_async_modbus.py b/tests/test_async_modbus.py 2index b0bd3fd..6b8df87 100644 3--- a/tests/test_async_modbus.py 4+++ b/tests/test_async_modbus.py 5@@ -194,7 +194,7 @@ async def test_read_coils(proto, slave_id, starting_address, expected_reply): 6 await coro 7 else: 8 reply = await coro 9- assert (reply == expected_reply).all() 10+ assert reply == expected_reply 11 12 server = Server(slave_id, starting_address, expected_reply) 13 client = AsyncClient(server, protocol) 14@@ -204,7 +204,7 @@ async def test_read_coils(proto, slave_id, starting_address, expected_reply): 15 await coro 16 else: 17 reply = await coro 18- assert (reply == expected_reply).all() 19+ assert reply == expected_reply 20 21 22 @pytest.mark.asyncio 23@@ -273,7 +273,7 @@ async def test_read_discrete_inputs(proto, slave_id, starting_address, expected_ 24 await coro 25 else: 26 reply = await coro 27- assert (reply == expected_reply).all() 28+ assert reply == expected_reply 29 30 server = Server(slave_id, starting_address, expected_reply) 31 client = AsyncClient(server, protocol) 32@@ -283,7 +283,7 @@ async def test_read_discrete_inputs(proto, slave_id, starting_address, expected_ 33 await coro 34 else: 35 reply = await coro 36- assert (reply == expected_reply).all() 37+ assert reply == expected_reply 38 39 40 @pytest.mark.asyncio 41@@ -306,7 +306,7 @@ async def test_read_holding_registers( 42 await coro 43 else: 44 reply = await coro 45- assert (reply == expected_reply).all() 46+ assert reply == expected_reply 47 48 server = Server(slave_id, starting_address, expected_reply) 49 client = AsyncClient(server, protocol) 50@@ -316,7 +316,7 @@ async def test_read_holding_registers( 51 await coro 52 else: 53 reply = await coro 54- assert (reply == expected_reply).all() 55+ assert reply == expected_reply 56 57 58 @pytest.mark.asyncio 59@@ -383,7 +383,7 @@ async def test_read_input_registers(proto, slave_id, starting_address, expected_ 60 await coro 61 else: 62 reply = await coro 63- assert (reply == expected_reply).all() 64+ assert reply == expected_reply 65 66 server = Server(slave_id, starting_address, expected_reply) 67 client = AsyncClient(server, protocol) 68@@ -393,4 +393,4 @@ async def test_read_input_registers(proto, slave_id, starting_address, expected_ 69 await coro 70 else: 71 reply = await coro 72- assert (reply == expected_reply).all() 73+ assert reply == expected_reply