diff options
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) |
commit | e049f470cd98a2304c7552939d3606344ab8302a (patch) | |
tree | 1a470ac9e29b185ddde5434fa34d2233a8ae4561 /Lib/packaging/tests/support.py | |
parent | 09ab4f86e8f7239da4e833589855105ef4f05713 (diff) | |
download | cpython-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.py | 4 |
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 |