Skip to content

Commit

Permalink
Testing: Skip some tests that definitively fail on CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Feb 11, 2024
1 parent dbe453b commit 98b4ed6
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import pytest

# Local imports
from spyder.config.base import running_in_ci, running_in_ci_with_conda
from spyder.config.base import running_in_ci
from spyder.plugins.editor.extensions.closebrackets import (
CloseBracketsExtension
)
Expand Down Expand Up @@ -214,11 +214,9 @@ def test_get_hints_not_triggered(qtbot, completions_codeeditor, text):
@pytest.mark.skipif(
(
sys.platform == "darwin"
or (
sys.platform.startswith("linux") and not running_in_ci_with_conda()
)
or (sys.platform.startswith("linux") and running_in_ci())
),
reason="Fails on Linux with pip packages and Mac",
reason="Fails on CIs for Linux and Mac",
)
@pytest.mark.parametrize(
"params",
Expand Down Expand Up @@ -277,11 +275,9 @@ def test_get_hints_for_builtins(qtbot, completions_codeeditor, params):
@pytest.mark.skipif(
(
sys.platform == "darwin"
or (
sys.platform.startswith("linux") and not running_in_ci_with_conda()
)
or (sys.platform.startswith("linux") and running_in_ci())
),
reason="Fails on Linux with pip packages and Mac",
reason="Fails on CIs for Linux and Mac",
)
@pytest.mark.parametrize(
"params",
Expand Down

0 comments on commit 98b4ed6

Please sign in to comment.