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

Function test_parse_fstring_yield_expr

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

Source from the content-addressed store, hash-verified

702
703 #[test]
704 fn test_parse_fstring_yield_expr() {
705 let source = r#"f"{yield}""#;
706 let suite = parse_suite(source).unwrap();
707 insta::assert_debug_snapshot!(suite);
708 }
709
710 #[test]
711 fn test_parse_tstring() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected