aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual_test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-03-28 09:42:35 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-03-28 09:42:35 -0400
commit0f147d3f3cffda76b6be0fa3e5b396ede7f3bbf2 (patch)
treedc8c1946fdeba78085dc54e93e52ad5e84ac3406 /tests/manual_test.py
parent07a1c6988ad6b270a29b1059b7ec71191d67c9bc (diff)
downloadexternal_python_setuptools-0f147d3f3cffda76b6be0fa3e5b396ede7f3bbf2.tar.gz
external_python_setuptools-0f147d3f3cffda76b6be0fa3e5b396ede7f3bbf2.tar.bz2
external_python_setuptools-0f147d3f3cffda76b6be0fa3e5b396ede7f3bbf2.zip
Extract decision point into a variable
Diffstat (limited to 'tests/manual_test.py')
-rw-r--r--tests/manual_test.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/manual_test.py b/tests/manual_test.py
index af4ec09b..808fa55a 100644
--- a/tests/manual_test.py
+++ b/tests/manual_test.py
@@ -43,10 +43,8 @@ PYVER = sys.version.split()[0][:3]
_VARS = {'base': '.',
'py_version_short': PYVER}
-if sys.platform == 'win32':
- PURELIB = INSTALL_SCHEMES['nt']['purelib']
-else:
- PURELIB = INSTALL_SCHEMES['unix_prefix']['purelib']
+scheme = 'nt' if sys.platform == 'win32' else 'unix_prefix'
+PURELIB = INSTALL_SCHEMES[scheme]['purelib']
@tempdir