From 82c8e49e6f1f8e533757312c28e5fe9eaa48653e Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Wed, 4 Feb 2026 00:11:16 +0100 Subject: [PATCH] chore: accept `time` arguemt in `not_start` mock of timer `start` To improve readability of stactrace accept the time argument. --- package/tests/test_PartSeg/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)