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

Function test_invalid_unicode_name_error

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

Source from the content-addressed store, hash-verified

1134
1135 #[test]
1136 fn test_invalid_unicode_name_error() {
1137 let source = r"'\N{INVALID}'";
1138 let error = parse_suite(source).unwrap_err();
1139 insta::assert_debug_snapshot!(error);
1140 }
1141
1142 #[test]
1143 fn test_invalid_byte_literal_error() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected