Revert patching of breakpointhook as it appears to do nothing

This commit is contained in:
Anthony Sottile
2018-09-23 18:39:50 -07:00
parent 4474beeb82
commit 956b3aca97
2 changed files with 7 additions and 17 deletions
+7 -1
View File
@@ -4,9 +4,15 @@ import platform
import os
import _pytest._code
from _pytest.debugging import SUPPORTS_BREAKPOINT_BUILTIN
import pytest
try:
breakpoint
except NameError:
SUPPORTS_BREAKPOINT_BUILTIN = False
else:
SUPPORTS_BREAKPOINT_BUILTIN = True
_ENVIRON_PYTHONBREAKPOINT = os.environ.get("PYTHONBREAKPOINT", "")