MCPcopy Index your code
hub / github.com/brettcannon/python-launcher / parse_python_sheban_include_invalid_bytes_tests

Function parse_python_sheban_include_invalid_bytes_tests

src/cli.rs:442–446  ·  view source on GitHub ↗
(
        mut shebang: &[u8],
    )

Source from the content-addressed store, hash-verified

440
441 #[test_case(&[0x23, 0x21, 0xc0, 0xaf] => None ; "invalid UTF-8")]
442 fn parse_python_sheban_include_invalid_bytes_tests(
443 mut shebang: &[u8],
444 ) -> Option<RequestedVersion> {
445 parse_python_shebang(&mut shebang)
446 }
447}

Callers

nothing calls this directly

Calls 1

parse_python_shebangFunction · 0.85

Tested by

no test coverage detected