Show More
@@ -8,6 +8,7 b' import bdb' | |||||
8 | import builtins |
|
8 | import builtins | |
9 | import os |
|
9 | import os | |
10 | import sys |
|
10 | import sys | |
|
11 | import platform | |||
11 |
|
12 | |||
12 | from tempfile import NamedTemporaryFile |
|
13 | from tempfile import NamedTemporaryFile | |
13 | from textwrap import dedent |
|
14 | from textwrap import dedent | |
@@ -16,6 +17,7 b' from unittest.mock import patch' | |||||
16 | from IPython.core import debugger |
|
17 | from IPython.core import debugger | |
17 | from IPython.testing import IPYTHON_TESTING_TIMEOUT_SCALE |
|
18 | from IPython.testing import IPYTHON_TESTING_TIMEOUT_SCALE | |
18 | from IPython.testing.decorators import skip_win32 |
|
19 | from IPython.testing.decorators import skip_win32 | |
|
20 | import pytest | |||
19 |
|
21 | |||
20 | #----------------------------------------------------------------------------- |
|
22 | #----------------------------------------------------------------------------- | |
21 | # Helper classes, from CPython's Pdb test suite |
|
23 | # Helper classes, from CPython's Pdb test suite | |
@@ -411,6 +413,7 b' def test_decorator_skip():' | |||||
411 | child.close() |
|
413 | child.close() | |
412 |
|
414 | |||
413 |
|
415 | |||
|
416 | @pytest.mark.skip(platform.python_implementation() == "PyPy", reason="issues on PyPy") | |||
414 | @skip_win32 |
|
417 | @skip_win32 | |
415 | def test_decorator_skip_disabled(): |
|
418 | def test_decorator_skip_disabled(): | |
416 | """test that decorator frame skipping can be disabled""" |
|
419 | """test that decorator frame skipping can be disabled""" | |
@@ -438,6 +441,7 b' def test_decorator_skip_disabled():' | |||||
438 | child.close() |
|
441 | child.close() | |
439 |
|
442 | |||
440 |
|
443 | |||
|
444 | @pytest.mark.skip(platform.python_implementation() == "PyPy", reason="issues on PyPy") | |||
441 | @skip_win32 |
|
445 | @skip_win32 | |
442 | def test_decorator_skip_with_breakpoint(): |
|
446 | def test_decorator_skip_with_breakpoint(): | |
443 | """test that decorator frame skipping can be disabled""" |
|
447 | """test that decorator frame skipping can be disabled""" |
General Comments 0
You need to be logged in to leave comments.
Login now