Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruff complains, due to upgrade. #2296

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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