diff options
-rw-r--r-- | setuptools/tests/test_easy_install.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index befbd2fa..f93dbd4c 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -457,9 +457,8 @@ class TestScriptHeader: assert header == '#!/usr/bin/env %s\n' % exe with contexts.quiet() as (stdout, stderr): - - # Ensure we generate what is basically a broken shebang line - # when there's options, with a warning emitted + # When options are included, generate a broken shebang line + # with a warning emitted candidate = get_script_header('#!/usr/bin/python -x', executable=exe) assert candidate == '#!%s -x\n' % exe |