mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 21:25:31 +00:00
Remove test for empty generic class Foo[]: ...
Not valid syntax
This commit is contained in:
parent
d923aa92bb
commit
76a3245479
1 changed files with 0 additions and 12 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue