summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/support.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-24 00:15:25 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-24 00:15:25 (GMT)
commite049f470cd98a2304c7552939d3606344ab8302a (patch)
tree1a470ac9e29b185ddde5434fa34d2233a8ae4561 /Lib/packaging/tests/support.py
parent09ab4f86e8f7239da4e833589855105ef4f05713 (diff)
downloadcpython-e049f470cd98a2304c7552939d3606344ab8302a.zip
cpython-e049f470cd98a2304c7552939d3606344ab8302a.tar.gz
cpython-e049f470cd98a2304c7552939d3606344ab8302a.tar.bz2
Fix test_packaging on Windows (#12678).
See the distutils commit message for more detail.
Diffstat (limited to 'Lib/packaging/tests/support.py')
-rw-r--r--Lib/packaging/tests/support.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/tests/support.py b/Lib/packaging/tests/support.py
index 0513eaf..df6195a 100644
--- a/Lib/packaging/tests/support.py
+++ b/Lib/packaging/tests/support.py
@@ -323,8 +323,8 @@ def fixup_build_ext(cmd):
support.fixup_build_ext(cmd)
cmd.ensure_finalized()
"""
- if os.name == "nt":
- cmd.debug = sys.executable.endswith("_d.exe")
+ if os.name == 'nt':
+ cmd.debug = sys.executable.endswith('_d.exe')
elif sysconfig.get_config_var('Py_ENABLE_SHARED'):
# To further add to the shared builds fun on Unix, we can't just add
# library_dirs to the Extension() instance because that doesn't get