diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-18 20:17:12 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-18 20:17:12 -0500 |
| commit | 246a5982a37f38c70012326577278582f0b01ef2 (patch) | |
| tree | 80fa1070c78cc7673800c4ad9bbd2ef03c1976f9 /setuptools/tests/test_easy_install.py | |
| parent | 659e2bd057382e4819f38c2c77ff3b7783d63c6b (diff) | |
| download | python-setuptools-git-246a5982a37f38c70012326577278582f0b01ef2.tar.gz | |
Use the command spec as resolved by the best ScriptWriter.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 3 |
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 |
