Skip to content

Commit 2bb8d93

Browse files
authored
Fix for Python 4: replace unsafe PY3 with PY2 (#5820)
Fix for Python 4: replace unsafe PY3 with PY2
2 parents 8ee557f + d049b35 commit 2bb8d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ def test_supports_breakpoint_module_global(self):
853853
Test that supports breakpoint global marks on Python 3.7+ and not on
854854
CPython 3.5, 2.7
855855
"""
856-
if sys.version_info.major == 3 and sys.version_info.minor >= 7:
856+
if sys.version_info >= (3, 7):
857857
assert SUPPORTS_BREAKPOINT_BUILTIN is True
858858
if sys.version_info.major == 3 and sys.version_info.minor == 5:
859859
assert SUPPORTS_BREAKPOINT_BUILTIN is False

0 commit comments

Comments
 (0)