Skip to content

Commit bf013d5

Browse files
authored
Merge pull request #576 from ccordoba12/skip-test-in-py39
PR: Skip `test_get_interactive_backend` in Python 3.9 and Linux
2 parents 306e28f + f6db4ef commit bf013d5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

spyder_kernels/console/tests/test_console_kernel.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,6 @@ def myFunc(i):
634634

635635

636636
@pytest.mark.flaky(max_runs=3)
637-
@pytest.mark.skipif(
638-
sys.platform == 'darwin' and sys.version_info[:2] == (3, 8),
639-
reason="Fails on Mac with Python 3.8")
640637
@pytest.mark.skipif(
641638
os.environ.get('USE_CONDA') != 'true',
642639
reason="Doesn't work with pip packages")
@@ -756,9 +753,6 @@ def test_runfile(tmpdir):
756753

757754

758755
@pytest.mark.flaky(max_runs=3)
759-
@pytest.mark.skipif(
760-
sys.platform == 'darwin' and sys.version_info[:2] == (3, 8),
761-
reason="Fails on Mac with Python 3.8")
762756
def test_np_threshold(kernel):
763757
"""
764758
Test that setting Numpy threshold doesn't make the Variable Explorer slow.
@@ -1186,6 +1180,10 @@ def test_locals_globals_in_pdb(kernel):
11861180
os.environ.get('USE_CONDA') != 'true',
11871181
reason="Doesn't work with pip packages"
11881182
)
1183+
@pytest.mark.skipif(
1184+
sys.version_info[:2] == (3, 9) and sys.platform.startswith("linux"),
1185+
reason="Fails with Python 3.9 on Linux"
1186+
)
11891187
def test_get_interactive_backend(backend):
11901188
"""
11911189
Test that we correctly get the interactive backend set in the kernel.

0 commit comments

Comments
 (0)