summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/misc/test_editor.py')
-rw-r--r--tests/unit/misc/test_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_editor.py b/tests/unit/misc/test_editor.py
index edd32b5a5..5fb4478a7 100644
--- a/tests/unit/misc/test_editor.py
+++ b/tests/unit/misc/test_editor.py
@@ -167,7 +167,7 @@ class TestFileHandling:
def test_backup(self, qtbot, message_mock):
editor = editormod.ExternalEditor(watch=True)
editor.edit('foo')
- with qtbot.wait_signal(editor.file_updated):
+ with qtbot.wait_signal(editor.file_updated, timeout=5000):
_update_file(editor._filename, 'bar')
editor.backup()