remove a test that would fail because pytest is being used to test itself
This commit is contained in:
parent
804392e5f2
commit
4d847593b3
|
@ -479,13 +479,6 @@ class TestDebuggingBreakpoints(object):
|
||||||
if sys.version_info.major == 2 and sys.version_info.minor == 7:
|
if sys.version_info.major == 2 and sys.version_info.minor == 7:
|
||||||
assert SUPPORTS_BREAKPOINT_BUILTIN is False
|
assert SUPPORTS_BREAKPOINT_BUILTIN is False
|
||||||
|
|
||||||
@pytest.mark.skipif(not SUPPORTS_BREAKPOINT_BUILTIN, reason="Requires breakpoint() builtin")
|
|
||||||
def test_sys_breakpointhook_is_pytest_PDB(self):
|
|
||||||
"""
|
|
||||||
Test that sys.breakpointhook by default is set to pytest's internal class.
|
|
||||||
"""
|
|
||||||
assert sys.breakpointhook == pytestPDB.set_trace
|
|
||||||
|
|
||||||
@pytest.mark.skipif(not SUPPORTS_BREAKPOINT_BUILTIN, reason="Requires breakpoint() builtin")
|
@pytest.mark.skipif(not SUPPORTS_BREAKPOINT_BUILTIN, reason="Requires breakpoint() builtin")
|
||||||
@pytest.mark.parametrize('arg', ['--pdb', ''])
|
@pytest.mark.parametrize('arg', ['--pdb', ''])
|
||||||
def test_sys_breakpointhook_configure_and_unconfigure(self, testdir, arg):
|
def test_sys_breakpointhook_configure_and_unconfigure(self, testdir, arg):
|
||||||
|
|
Loading…
Reference in New Issue