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

Fix 3.11 problem. #1673

Merged
merged 1 commit into from
Jul 20, 2023
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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: pip install -e . -r requirements.txt

- name: pytest
run: pytest --cov=pymodbus --cov=test --cov-report=term-missing --cov-report=xml -v --full-trace --timeout=20
run: pytest -n0 --cov=pymodbus --cov=test --cov-report=term-missing --cov-report=xml -v --full-trace --timeout=20

analyze:
name: Analyze Python
Expand Down
4 changes: 1 addition & 3 deletions examples/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def run_calls(client, count):
"""Run client calls."""
_logger.info("### Read fixed/increment/random value of different types.")
_logger.info("--> UINT16")
for count in range(1, 100):
for count in range(1, 5):
await read_registers(client, 1148, 1, True, curval=32117)
await read_registers(client, 2305, 1, True, curval=50 + count)
await read_registers(client, 2306, 1, True, minval=45, maxval=55)
Expand All @@ -62,8 +62,6 @@ async def run_simulator():
"""Run server."""
_logger.info("### start server simulator")
cmdline = [
"--log",
"debug",
"--modbus_device",
"device_try",
]
Expand Down