summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_easy_install.py6
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