Fix preorder visitor tests (#9025)

Follow-up PR to #9009 to fix the `PreorderVisitor` test cases as
suggested here: https://github.com/astral-sh/ruff/pull/9009#discussion_r1416459688
This commit is contained in:
Dhruv Manilawala 2023-12-06 10:58:51 -06:00 committed by GitHub
parent bd443ebe91
commit ef7778d794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 86 additions and 177 deletions

View file

@ -139,7 +139,6 @@ pub trait PreorderVisitor<'a> {
}
#[inline]
fn visit_pattern_keyword(&mut self, pattern_keyword: &'a PatternKeyword) {
walk_pattern_keyword(self, pattern_keyword);
}