Skip to content

Commit

Permalink
Adding coverage for L329 - L333
Browse files Browse the repository at this point in the history
  • Loading branch information
prsabahrami committed May 16, 2024
1 parent f7723b3 commit 96b2337
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/functions_310.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,20 @@ def match_mapping(x):
return 2


def multiple_match(x):
match x:
case 0:
return 1
case 1:
return 2
match x:
case 0:
return 3
case 1:
return 4
return 5


functions_310 = [
nested_match,
match_assignments_inside_branch,
Expand All @@ -187,6 +201,7 @@ def match_mapping(x):
match_with_guard_variable,
match_with_guard_multiple_variable,
match_sequence_incomplete,
multiple_match,
]

xfail_functions_310 = [
Expand Down

0 comments on commit 96b2337

Please sign in to comment.