From 85f251a54f9a6b4a1bccdcbaec8784e32da8df38 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Jul 2024 12:55:09 +0200 Subject: Merging upstream version 2.6.0. Signed-off-by: Daniel Baumann --- tests/identify_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/identify_test.py') diff --git a/tests/identify_test.py b/tests/identify_test.py index bb8aba5..c0e5410 100644 --- a/tests/identify_test.py +++ b/tests/identify_test.py @@ -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): -- cgit v1.2.3