mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 23:24:31 -05:00
Optimize validate_arguments (#10)
This commit is contained in:
@@ -1104,7 +1104,7 @@ def args_to_tuple(*args: *Ts) -> Tuple[*Ts]: ...
|
||||
#[test]
|
||||
#[cfg(feature = "all-nodes-with-ranges")]
|
||||
fn decorator_ranges() {
|
||||
let parse_ast = parse_program(
|
||||
let parse_ast = ast::Suite::parse(
|
||||
r#"
|
||||
@my_decorator
|
||||
def test():
|
||||
|
||||
Reference in New Issue
Block a user