Remove test for empty generic class Foo[]: ...

Not valid syntax
This commit is contained in:
Zanie
2023-07-12 11:17:24 -05:00
committed by Zanie Blue
parent ed7acfe477
commit 1f5e707829

View File

@@ -632,18 +632,6 @@ class Foo(A, B):
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
}
#[test]
#[cfg(feature = "all-nodes-with-ranges")]
fn test_parse_class_with_empty_generic() {
let source = "\
class Foo[](A, B):
pass
";
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
}
#[test]
#[cfg(feature = "all-nodes-with-ranges")]
fn test_parse_class_with_generic_type() {