Skip to content

Commit

Permalink
Ruff complains, due to upgrade. (#2296)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored Aug 22, 2024
1 parent 3e60a20 commit 6a75201
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/framers/test_rtu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def prepare_frame():
"""Return message object."""
return FramerRTU()

@pytest.mark.skip()
@pytest.mark.skip
@pytest.mark.parametrize(
("packet", "used_len", "res_id", "res"),
[
Expand Down
4 changes: 2 additions & 2 deletions test/sub_client/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ async def test_client_base_async():
p_close.return_value.set_result(False)


@pytest.mark.skip()
@pytest.mark.skip
async def test_client_protocol_receiver():
"""Test the client protocol data received."""
base = ModbusBaseClient(
Expand All @@ -340,7 +340,7 @@ async def test_client_protocol_receiver():
await base.build_response(0x00) # pylint: disable=protected-access


@pytest.mark.skip()
@pytest.mark.skip
async def test_client_protocol_response():
"""Test the udp client protocol builds responses."""
base = ModbusBaseClient(
Expand Down
2 changes: 1 addition & 1 deletion test/test_sparse_datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pymodbus.datastore import ModbusSparseDataBlock


@pytest.mark.asyncio()
@pytest.mark.asyncio
async def test_check_async_sparsedatastore():
"""Test check frame."""
data_in_block = {
Expand Down

0 comments on commit 6a75201

Please sign in to comment.