diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 16:21:11 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 16:21:11 -0500 |
| commit | 2170df350911390a4a9a205763475dc7a7a2fb54 (patch) | |
| tree | 37d279bd01b487944522a44b7d94c1db1decb4ef /setuptools/tests | |
| parent | aabff23148950b34d1f956e7d5a63c6cd098662e (diff) | |
| download | python-setuptools-git-2170df350911390a4a9a205763475dc7a7a2fb54.tar.gz | |
Move decision logic about windows/header generation closer to install_scripts, as it doesn't appear to be used elsewhere.
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 7baa989a..bc94b0c4 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -22,8 +22,8 @@ from setuptools import compat from setuptools.compat import StringIO, BytesIO, urlparse from setuptools.sandbox import run_setup, SandboxViolation from setuptools.command.easy_install import ( - easy_install, fix_jython_executable, get_script_args, nt_quote_arg, - get_script_header, is_sh, + easy_install, fix_jython_executable, nt_quote_arg, + get_script_header, is_sh, ScriptWriter, ) from setuptools.command.easy_install import PthDistributions from setuptools.command import easy_install as easy_install_pkg @@ -83,7 +83,7 @@ class TestEasyInstallTest: def test_get_script_args(self): dist = FakeDist() - args = next(get_script_args(dist)) + args = next(ScriptWriter._gen_args(dist)) name, script = itertools.islice(args, 2) assert script == WANTED |
