Skip to content

Commit

Permalink
[Mecha Munch Management]: Corrected Brackets in dict_methods_test.py (#…
Browse files Browse the repository at this point in the history
…3654)

[no important files changed]
Trivial, but it was bugging me.
  • Loading branch information
BethanyG authored Mar 2, 2024
1 parent c224d7c commit 8f5286f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/mecha-munch-management/dict_methods_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_send_to_store(self):
({'Banana': 3, 'Apple': 2, 'Orange': 1},
{'Banana': ['Aisle 5', False], 'Apple': ['Aisle 4', False],
'Orange': ['Aisle 4', False], 'Milk': ['Aisle 2', True]}),
]
]

output_data = [
{'Orange': [1, 'Aisle 4', False], 'Milk': [2, 'Aisle 2', True],
Expand All @@ -159,7 +159,7 @@ def test_send_to_store(self):

{'Orange': [1, 'Aisle 4', False], 'Banana': [3, 'Aisle 5', False],
'Apple': [2, 'Aisle 4', False]},
]
]

for variant, (input_data, expected) in enumerate(zip(input_data, output_data), start=1):
with self.subTest(f'variation #{variant}', input_data=input_data, expected=expected):
Expand Down

0 comments on commit 8f5286f

Please sign in to comment.