Merging upstream version 2.3.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
9254dfcd61
commit
3d6a2404f9
5 changed files with 10 additions and 3 deletions
|
@ -314,6 +314,8 @@ def test_file_is_text_does_not_exist(tmpdir):
|
|||
(b'\xf9\x93\x01\x42\xcd', ()),
|
||||
(b'#!\xf9\x93\x01\x42\xcd', ()),
|
||||
(b'#!\x00\x00\x00\x00', ()),
|
||||
# shebang lines with multiple arguments
|
||||
(b'#!/usr/bin/env -S python -u', ('python', '-u')),
|
||||
),
|
||||
)
|
||||
def test_parse_shebang(s, expected):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue