macro_rules! create_parse_test {
($test_name:ident, $code:literal, $file_name:literal) => { ... };
}Expand description
Macros for reducing code duplication in the python-ast library. Macro for generating test functions for AST parsing. Reduces duplication in test code. Asserts that both parsing and code generation succeed and that the generated stream is non-empty, so codegen regressions actually fail the test.