From e816723a499d87156bc579386c635dd370187ad0 Mon Sep 17 00:00:00 2001 From: Alex Ruddick Date: Sat, 25 May 2024 12:36:46 -0500 Subject: [PATCH] pytest-xdist causes too many problems --- clickplc/tests/test_driver.py | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clickplc/tests/test_driver.py b/clickplc/tests/test_driver.py index ed31eda..0274dd4 100644 --- a/clickplc/tests/test_driver.py +++ b/clickplc/tests/test_driver.py @@ -19,7 +19,7 @@ # autouse = False @pytest.fixture(scope='session', autouse=autouse) -async def _sim(worker_id): +async def _sim(): """Start a modbus server simulator.""" from pymodbus.datastore import ( ModbusSequentialDataBlock, diff --git a/setup.py b/setup.py index a0fd31f..7aad8db 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,6 @@ 'pytest', 'pytest-asyncio>=0.23.7,<=0.23.9', 'pytest-cov', - 'pytest-xdist', 'mypy==1.10.0', 'ruff==0.4.2', ],