From 5779202566a413753ca17f3de95763881bfdcf67 Mon Sep 17 00:00:00 2001 From: prsabahrami Date: Sat, 18 May 2024 11:43:45 -0400 Subject: [PATCH] Fixing test functions --- tests/functions_310.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functions_310.py b/tests/functions_310.py index 42f06e2..2e97e82 100644 --- a/tests/functions_310.py +++ b/tests/functions_310.py @@ -171,7 +171,7 @@ def match_mapping(x): case {1: 2}: return 1 case _: - return 2 + return x def multiple_match(x): @@ -185,7 +185,7 @@ def multiple_match(x): return 3 case 1: return 4 - return 5 + return x def match_with_assignment(x): @@ -265,7 +265,7 @@ def match_sequence_padded_length(x): return -1 case 1, 2, 3: return 2 - return -2 + return x def match_guard_no_assignation(x):