Fix for Python 4: replace unsafe PY3 with PY2
This commit is contained in:
		
							parent
							
								
									8ee557f7ae
								
							
						
					
					
						commit
						d049b35397
					
				|  | @ -853,7 +853,7 @@ class TestDebuggingBreakpoints: | ||||||
|         Test that supports breakpoint global marks on Python 3.7+ and not on |         Test that supports breakpoint global marks on Python 3.7+ and not on | ||||||
|         CPython 3.5, 2.7 |         CPython 3.5, 2.7 | ||||||
|         """ |         """ | ||||||
|         if sys.version_info.major == 3 and sys.version_info.minor >= 7: |         if sys.version_info >= (3, 7): | ||||||
|             assert SUPPORTS_BREAKPOINT_BUILTIN is True |             assert SUPPORTS_BREAKPOINT_BUILTIN is True | ||||||
|         if sys.version_info.major == 3 and sys.version_info.minor == 5: |         if sys.version_info.major == 3 and sys.version_info.minor == 5: | ||||||
|             assert SUPPORTS_BREAKPOINT_BUILTIN is False |             assert SUPPORTS_BREAKPOINT_BUILTIN is False | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue