diff --git a/parser/src/parser.rs b/parser/src/parser.rs index d609fce..3f61989 100644 --- a/parser/src/parser.rs +++ b/parser/src/parser.rs @@ -636,18 +636,6 @@ class Foo(A, B): insta::assert_debug_snapshot!(ast::Suite::parse(source, "").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, "").unwrap()); - } - - #[test] #[cfg(feature = "all-nodes-with-ranges")] fn test_parse_class_with_generic_type() {