Skip to content

Commit f4cd43f

Browse files
committed
Testing: Skip test_calltip on Python 3 and PyQt < 5.9 b/c it's failing
1 parent 3d4b72f commit f4cd43f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: spyder/app/tests/test_mainwindow.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def close_window():
162162
@pytest.mark.slow
163163
@pytest.mark.use_introspection
164164
@flaky(max_runs=3)
165-
@pytest.mark.skipif(os.name == 'nt',
166-
reason="It times out on Windows locally and on AppVeyor.")
165+
@pytest.mark.skipif(os.name == 'nt' or (not PY2 and PYQT_VERSION < "5.9.0"),
166+
reason="It times out on AppVeyor and fails on PY3 and PyQt 5.6")
167167
@pytest.mark.timeout(timeout=45, method='thread')
168168
def test_calltip(main_window, qtbot):
169169
"""Test that the calltip in editor is hidden when matching ')' is found."""

0 commit comments

Comments
 (0)