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

Function test_parse_fstring_nested_spec

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

Source from the content-addressed store, hash-verified

596
597 #[test]
598 fn test_parse_fstring_nested_spec() {
599 let source = r#"f"{foo:{spec}}""#;
600 let suite = parse_suite(source).unwrap();
601 insta::assert_debug_snapshot!(suite);
602 }
603
604 #[test]
605 fn test_parse_fstring_nested_spec_recursion_limit() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected