Skip to content

Commit

Permalink
trying not to use flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
Zybulon committed Sep 22, 2024
1 parent 2f1bcb9 commit 79ca50a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions spyder_terminal/tests/test_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,9 @@ def teardown():
return terminal


@flaky(max_runs=3)
@pytest.mark.skipif((os.environ.get('CI') and
sys.platform.startswith('linux')),
reason="Doesn't work on Linux CIs")
(sys.platform.startswith('linux') or WINDOWS)),
reason="Doesn't work on Linux and Windows CIs")
def test_terminal_paste_1(setup_terminal, qtbot_module):
"""Test the paste action in the terminal."""
terminal = setup_terminal
Expand All @@ -201,7 +200,6 @@ def test_terminal_paste_1(setup_terminal, qtbot_module):
timeout=TERM_UP)


@flaky(max_runs=3)
@pytest.mark.skipif((os.environ.get('CI') and
sys.platform.startswith('linux')),
reason="Doesn't work on Linux CIs")
Expand Down Expand Up @@ -325,7 +323,6 @@ def test_terminal_tab_title(setup_terminal, qtbot_module):
assert num_2 == num_1 + 1


@flaky(max_runs=3)
def test_new_terminal(setup_terminal, qtbot_module):
"""Test if a new terminal is added."""
# Setup widget
Expand Down

0 comments on commit 79ca50a

Please sign in to comment.