From 4d847593b323d041c11df15c8158a330caf07a79 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Tue, 3 Apr 2018 10:40:56 +1000 Subject: [PATCH] remove a test that would fail because pytest is being used to test itself --- testing/test_pdb.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/testing/test_pdb.py b/testing/test_pdb.py index e84c99941..d96c460c3 100644 --- a/testing/test_pdb.py +++ b/testing/test_pdb.py @@ -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):