Skip to content

Commit c8dd591

Browse files
committed
Py_DEBUG is already declared in test.support
1 parent 0608d2b commit c8dd591

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Lib/test/support/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3497,7 +3497,6 @@ def check_immutable_type(testcase, type):
34973497
def built_with_c_assertions():
34983498
# Check if Python was built in debug mode or using --with-assertions
34993499
if MS_WINDOWS:
3500-
Py_DEBUG = hasattr(sys, 'gettotalrefcount')
35013500
return Py_DEBUG
35023501

35033502
PY_CFLAGS = sysconfig.get_config_var('PY_CFLAGS')

0 commit comments

Comments
 (0)