From a8733d7228f47ee7f24982deb68934902992f2f4 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Sun, 4 Feb 2018 07:02:25 -0500 Subject: [PATCH] Increase timeout in test_editor. The test with watch=True was failing on the Travis OSX environment becausee it was timing out before the file_updated signal was fired. --- tests/unit/misc/test_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/misc/test_editor.py b/tests/unit/misc/test_editor.py index 37506d923..58f6edae7 100644 --- a/tests/unit/misc/test_editor.py +++ b/tests/unit/misc/test_editor.py @@ -184,7 +184,7 @@ def test_modify_watch(qtbot): editor = editormod.ExternalEditor(watch=True) editor.edit('foo') - with qtbot.wait_signal(editor.file_updated) as blocker: + with qtbot.wait_signal(editor.file_updated, timeout=3000) as blocker: with open(editor._filename, 'w', encoding='utf-8') as f: f.write('bar') assert blocker.args == ['bar']