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

Function test_infinite_loop

crates/ruff_python_parser/src/lexer.rs:2178–2181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2176 // infinite loop on invalid input.
2177 #[test]
2178 fn test_infinite_loop() {
2179 let source = "[1";
2180 lex_invalid(source, Mode::Module);
2181 }
2182
2183 /// Emoji identifiers are a non-standard python feature and are not supported by our lexer.
2184 #[test]

Callers

nothing calls this directly

Calls 1

lex_invalidFunction · 0.85

Tested by

no test coverage detected