Skip to content

Commit

Permalink
Fixing test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
prsabahrami committed May 18, 2024
1 parent 2850d44 commit 5779202
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functions_310.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def match_mapping(x):
case {1: 2}:
return 1
case _:
return 2
return x


def multiple_match(x):
Expand All @@ -185,7 +185,7 @@ def multiple_match(x):
return 3
case 1:
return 4
return 5
return x


def match_with_assignment(x):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 5779202

Please sign in to comment.