mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 23:24:31 -05:00
Remove test for empty generic class Foo[]: ...
Not valid syntax
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user