aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-18 20:17:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-18 20:17:12 -0500
commit246a5982a37f38c70012326577278582f0b01ef2 (patch)
tree80fa1070c78cc7673800c4ad9bbd2ef03c1976f9
parent659e2bd057382e4819f38c2c77ff3b7783d63c6b (diff)
downloadexternal_python_setuptools-246a5982a37f38c70012326577278582f0b01ef2.tar.gz
external_python_setuptools-246a5982a37f38c70012326577278582f0b01ef2.tar.bz2
external_python_setuptools-246a5982a37f38c70012326577278582f0b01ef2.zip
Use the command spec as resolved by the best ScriptWriter.
-rw-r--r--setuptools/tests/test_easy_install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 91461364..cbbe99db 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -522,6 +522,7 @@ class TestCommandSpec:
"""
CommandSpec.from_string(sys.executable) should contain just that param.
"""
- cmd = CommandSpec.from_string(sys.executable)
+ writer = ScriptWriter.best()
+ cmd = writer.command_spec_class.from_string(sys.executable)
assert len(cmd) == 1
assert cmd[0] == sys.executable