From 246a5982a37f38c70012326577278582f0b01ef2 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 18 Jan 2015 20:17:12 -0500 Subject: Use the command spec as resolved by the best ScriptWriter. --- setuptools/tests/test_easy_install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'setuptools') 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 -- cgit v1.2.3