24
24
25
25
from spyder .app .cli_options import get_options
26
26
from spyder .app .mainwindow import initialize , run_spyder
27
- from spyder .utils .tests import close_save_message_box
27
+ from spyder .utils .tests import close_message_box
28
28
29
29
#==============================================================================
30
30
# Constants
@@ -82,9 +82,9 @@ def close_widget():
82
82
# Tests
83
83
#==============================================================================
84
84
@flaky (max_runs = 10 )
85
- # @pytest.mark.skipif(os.name != 'nt' and PYQT5,
86
- # reason="It segfaults too frequently in linux "
87
- # "with PyQt5")
85
+ @pytest .mark .skipif (os .name != 'nt' and PYQT5 ,
86
+ reason = "It segfaults too frequently in linux "
87
+ "with PyQt5" )#FIXME Probably caused by the save message of the file
88
88
def test_calltip (main_window , qtbot ):
89
89
"""Hide the calltip in the editor when a matching ')' is found."""
90
90
# Load test file
@@ -110,7 +110,7 @@ def test_calltip(main_window, qtbot):
110
110
qtbot .keyPress (code_editor , Qt .Key_ParenRight , delay = 1000 )
111
111
qtbot .keyPress (code_editor , Qt .Key_Enter , delay = 1000 )
112
112
113
- QTimer .singleShot (1000 , lambda : close_save_message_box (qtbot ))
113
+ QTimer .singleShot (1000 , lambda : close_message_box (qtbot ))
114
114
115
115
116
116
@flaky (max_runs = 10 )
0 commit comments