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

Not valid syntax
This commit is contained in:
Zanie 2023-07-12 11:17:24 -05:00
parent d923aa92bb
commit 76a3245479

View file

@ -636,18 +636,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() {