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

Source from the content-addressed store, hash-verified

680
681 #[test]
682 fn test_parse_fstring_yield_expr() {
683 let source = r#"f"{yield}""#;
684 let suite = parse_suite(source).unwrap();
685 insta::assert_debug_snapshot!(suite);
686 }
687
688 #[test]
689 fn test_parse_tstring() {

Callers

nothing calls this directly

Calls 1

parse_suiteFunction · 0.70

Tested by

no test coverage detected