Skip to content

Commit fcc987a

Browse files
committed
trying not to use flaky
1 parent 2f1bcb9 commit fcc987a

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

spyder_terminal/tests/test_terminal.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,9 @@ def teardown():
173173
return terminal
174174

175175

176-
@flaky(max_runs=3)
177176
@pytest.mark.skipif((os.environ.get('CI') and
178-
sys.platform.startswith('linux')),
179-
reason="Doesn't work on Linux CIs")
177+
(sys.platform.startswith('linux')) or WINDOWS),
178+
reason="Doesn't work on Linux and Windows CIs")
180179
def test_terminal_paste_1(setup_terminal, qtbot_module):
181180
"""Test the paste action in the terminal."""
182181
terminal = setup_terminal
@@ -201,9 +200,8 @@ def test_terminal_paste_1(setup_terminal, qtbot_module):
201200
timeout=TERM_UP)
202201

203202

204-
@flaky(max_runs=3)
205203
@pytest.mark.skipif((os.environ.get('CI') and
206-
sys.platform.startswith('linux')),
204+
sys.platform.startswith('linux'),
207205
reason="Doesn't work on Linux CIs")
208206
def test_terminal_paste_2(setup_terminal, qtbot_module):
209207
"""Test the paste action in the terminal."""
@@ -325,7 +323,6 @@ def test_terminal_tab_title(setup_terminal, qtbot_module):
325323
assert num_2 == num_1 + 1
326324

327325

328-
@flaky(max_runs=3)
329326
def test_new_terminal(setup_terminal, qtbot_module):
330327
"""Test if a new terminal is added."""
331328
# Setup widget

0 commit comments

Comments
 (0)