MCPcopy Create free account
hub / github.com/astral-sh/ruff / test_invalid_byte_literal_error

Function test_invalid_byte_literal_error

crates/ruff_python_parser/src/string.rs:1143–1147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1141
1142 #[test]
1143 fn test_invalid_byte_literal_error() {
1144 let source = r"b'123a𝐁c'";
1145 let error = parse_suite(source).unwrap_err();
1146 insta::assert_debug_snapshot!(error);
1147 }
1148
1149 macro_rules! test_aliases_parse {
1150 ($($name:ident: $alias:expr,)*) => {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected