summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index f919ae20..86870866 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -428,7 +428,7 @@ class TestScriptHeader:
actual = ScriptWriter.get_script_header('#!/usr/local/bin/python')
assert actual == expected
- expected = '#!%s -x\n' % nt_quote_arg(os.path.normpath(sys.executable))
+ expected = '#!%s -x\n' % nt_quote_arg(os.path.normpath(sys.executable))
actual = ScriptWriter.get_script_header('#!/usr/bin/python -x')
assert actual == expected
@@ -471,7 +471,7 @@ class TestScriptHeader:
# with a warning emitted
candidate = ScriptWriter.get_script_header('#!/usr/bin/python -x',
executable=exe)
- assert candidate == '#!%s -x\n' % exe
+ assert candidate == '#!%s -x\n' % exe
output = locals()[expect_out]
assert 'Unable to adapt shebang line' in output.getvalue()