diff --git a/package/tests/test_PartSeg/conftest.py b/package/tests/test_PartSeg/conftest.py index f4d5db297..9cc322e1e 100644 --- a/package/tests/test_PartSeg/conftest.py +++ b/package/tests/test_PartSeg/conftest.py @@ -90,7 +90,7 @@ def start(self, time=None): else: old_start(self) - def not_start(self): + def not_start(self, time=None): raise RuntimeError("Thread should not be used in test") monkeypatch.setattr(QTimer, "start", not_start)