Revert patching of breakpointhook as it appears to do nothing
This commit is contained in:
+7
-1
@@ -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", "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user