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

Function test_invalid_unicode_literal

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

Source from the content-addressed store, hash-verified

1113
1114 #[test]
1115 fn test_invalid_unicode_literal() {
1116 let source = r"'\x1ó34'";
1117 let error = parse_suite(source).unwrap_err();
1118 insta::assert_debug_snapshot!(error);
1119 }
1120
1121 #[test]
1122 fn test_missing_unicode_lbrace_error() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected