remove a test that would fail because pytest is being used to test itself

This commit is contained in:
Anthony Shaw 2018-04-03 10:40:56 +10:00
parent 804392e5f2
commit 4d847593b3
No known key found for this signature in database
GPG Key ID: AB4A19AE1CE85744
1 changed files with 0 additions and 7 deletions

View File

@ -479,13 +479,6 @@ class TestDebuggingBreakpoints(object):
if sys.version_info.major == 2 and sys.version_info.minor == 7:
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.parametrize('arg', ['--pdb', ''])
def test_sys_breakpointhook_configure_and_unconfigure(self, testdir, arg):