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:687–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

685
686 #[test]
687 fn test_parse_fstring_yield_expr() {
688 let source = r#"f"{yield}""#;
689 let suite = parse_suite(source).unwrap();
690 insta::assert_debug_snapshot!(suite);
691 }
692
693 #[test]
694 fn test_parse_tstring() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected