Skip to content

Commit 1ecb282

Browse files
committed
Testing: Skip a test because it fails in Python 2 and PyQt4
1 parent e7e63d4 commit 1ecb282

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ def test_np_threshold(main_window, qtbot):
397397

398398

399399
@flaky(max_runs=3)
400-
@pytest.mark.skipif(os.name == 'nt', reason="It times out sometimes on Windows")
400+
@pytest.mark.skipif(os.name == 'nt' or (PY2 and PYQT4),
401+
reason="It times out sometimes on Windows and fails in PY2 and PyQt4")
401402
def test_change_types_in_varexp(main_window, qtbot):
402403
"""Test that variable types can't be changed in the Variable Explorer."""
403404
# Create object

0 commit comments

Comments
 (0)