diff options
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 5e36044d..91461364 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -517,3 +517,11 @@ class TestCommandSpec: cmd = CommandSpec.from_param('/usr/bin/env my-python') assert len(cmd) == 2 assert '"' not in cmd.as_header() + + def test_sys_executable(self): + """ + CommandSpec.from_string(sys.executable) should contain just that param. + """ + cmd = CommandSpec.from_string(sys.executable) + assert len(cmd) == 1 + assert cmd[0] == sys.executable |
