File: 0005-Increase-timer-duration.patch

package info (click to toggle)
napari 0.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,604 kB
  • sloc: python: 109,279; xml: 72; makefile: 42; sh: 5
file content (21 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <roland.mas@entierement.net>
Date: Fri, 14 Mar 2025 17:44:00 +0100
Subject: Increase timer duration

---
 src/napari/_tests/test_conftest_fixtures.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/napari/_tests/test_conftest_fixtures.py b/src/napari/_tests/test_conftest_fixtures.py
index 1bf063e..8a098cd 100644
--- a/src/napari/_tests/test_conftest_fixtures.py
+++ b/src/napari/_tests/test_conftest_fixtures.py
@@ -35,7 +35,7 @@ def test_qthread_running(qtbot):
 @pytest.mark.disable_qtimer_start
 def test_disable_qtimer(qtbot):
     t = QTimer()
-    t.setInterval(100)
+    t.setInterval(1000)
     t.start()
     assert not t.isActive()