diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-26 14:30:57 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-26 14:30:57 (GMT) |
commit | 3577c3cfb8f18e1f63ae56279a1adcc0c710b465 (patch) | |
tree | 3a7697d35df1103038435d205062cd256bbb5dee /Lib/packaging/tests/test_command_install_dist.py | |
parent | bcf147cb72070f180e97929d18f58e19157cfbb5 (diff) | |
parent | b008d3d00c214e9d737aa0f0f20246b1b4efaa9e (diff) | |
download | cpython-3577c3cfb8f18e1f63ae56279a1adcc0c710b465.zip cpython-3577c3cfb8f18e1f63ae56279a1adcc0c710b465.tar.gz cpython-3577c3cfb8f18e1f63ae56279a1adcc0c710b465.tar.bz2 |
Branch merge
Diffstat (limited to 'Lib/packaging/tests/test_command_install_dist.py')
-rw-r--r-- | Lib/packaging/tests/test_command_install_dist.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/packaging/tests/test_command_install_dist.py b/Lib/packaging/tests/test_command_install_dist.py index 61270af..8f90aff 100644 --- a/Lib/packaging/tests/test_command_install_dist.py +++ b/Lib/packaging/tests/test_command_install_dist.py @@ -18,9 +18,8 @@ _CONFIG_VARS = get_config_vars() def _make_ext_name(modname): - if os.name == 'nt': - if sys.executable.endswith('_d.exe'): - modname += '_d' + if os.name == 'nt' and sys.executable.endswith('_d.exe'): + modname += '_d' return modname + get_config_var('SO') |