summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_gdb/__init__.py')
-rw-r--r--Lib/test/test_gdb/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_gdb/__init__.py b/Lib/test/test_gdb/__init__.py
index d74075e..9955773 100644
--- a/Lib/test/test_gdb/__init__.py
+++ b/Lib/test/test_gdb/__init__.py
@@ -9,8 +9,7 @@ import unittest
from test import support
-MS_WINDOWS = (os.name == 'nt')
-if MS_WINDOWS:
+if support.MS_WINDOWS:
# On Windows, Python is usually built by MSVC. Passing /p:DebugSymbols=true
# option to MSBuild produces PDB debug symbols, but gdb doesn't support PDB
# debug symbol files.