From 5de62caff685eb0c9884af6f59c32419c55e2185 Mon Sep 17 00:00:00 2001 From: Aria Desires Date: Tue, 16 Dec 2025 09:50:26 -0500 Subject: [PATCH] regen --- crates/ty_python_semantic/src/types/display.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/ty_python_semantic/src/types/display.rs b/crates/ty_python_semantic/src/types/display.rs index 5dbbd624e4..a9f317d6ce 100644 --- a/crates/ty_python_semantic/src/types/display.rs +++ b/crates/ty_python_semantic/src/types/display.rs @@ -2726,7 +2726,7 @@ mod tests { // Empty parameters with a return type. assert_snapshot!( display_signature_multiline(&db, [], Some(Type::none(&db))), - @"() -> None" + @"def _() -> None" ); // Single parameter type (no name) with a return type. @@ -2736,7 +2736,7 @@ mod tests { [Parameter::positional_only(None).with_annotated_type(Type::none(&db))], Some(Type::none(&db)) ), - @"(None, /) -> None" + @"def _(None, /) -> None" ); // Two parameters where one has annotation and the other doesn't. @@ -2753,7 +2753,7 @@ mod tests { Some(Type::none(&db)) ), @r" - ( + def _( x=int, y: str = str ) -> None @@ -2771,7 +2771,7 @@ mod tests { Some(Type::none(&db)) ), @r" - ( + def _( x, y, / @@ -2790,7 +2790,7 @@ mod tests { Some(Type::none(&db)) ), @r" - ( + def _( x, /, y @@ -2809,7 +2809,7 @@ mod tests { Some(Type::none(&db)) ), @r" - ( + def _( *, x, y @@ -2828,7 +2828,7 @@ mod tests { Some(Type::none(&db)) ), @r" - ( + def _( x, *, y @@ -2867,7 +2867,7 @@ mod tests { Some(KnownClass::Bytes.to_instance(&db)) ), @r" - ( + def _( a, b: int, c=Literal[1],