1
0
Fork 0

Merging upstream version 2.6.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 05:39:20 +01:00
parent 71580e7f34
commit bd0ab29a54
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
5 changed files with 16 additions and 13 deletions

View file

@ -325,6 +325,8 @@ def test_file_is_text_does_not_exist(tmpdir):
(b'#!\x00\x00\x00\x00', ()),
# shebang lines with multiple arguments
(b'#!/usr/bin/env -S python -u', ('python', '-u')),
(b'#!/usr/bin/env', ()),
(b'#!/usr/bin/env -S', ()),
),
)
def test_parse_shebang(s, expected):