Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74e2f69

Browse files
committed
Skip problemtic test on PyPy
1 parent df3248f commit 74e2f69

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

IPython/core/tests/test_debugger.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import builtins
99
import os
1010
import sys
11+
import platform
1112

1213
from tempfile import NamedTemporaryFile
1314
from textwrap import dedent
@@ -16,6 +17,7 @@
1617
from IPython.core import debugger
1718
from IPython.testing import IPYTHON_TESTING_TIMEOUT_SCALE
1819
from IPython.testing.decorators import skip_win32
20+
import pytest
1921

2022
#-----------------------------------------------------------------------------
2123
# Helper classes, from CPython's Pdb test suite
@@ -411,6 +413,7 @@ def test_decorator_skip():
411413
child.close()
412414

413415

416+
@pytest.mark.skip(platform.python_implementation() == "PyPy", reason="issues on PyPy")
414417
@skip_win32
415418
def test_decorator_skip_disabled():
416419
"""test that decorator frame skipping can be disabled"""
@@ -438,6 +441,7 @@ def test_decorator_skip_disabled():
438441
child.close()
439442

440443

444+
@pytest.mark.skip(platform.python_implementation() == "PyPy", reason="issues on PyPy")
441445
@skip_win32
442446
def test_decorator_skip_with_breakpoint():
443447
"""test that decorator frame skipping can be disabled"""

0 commit comments

Comments
 (0)