Skip to content

Commit

Permalink
Remove unused variable assignment in list_methods_test.py
Browse files Browse the repository at this point in the history
Semantically covered by the prior test, so the variable is not needed.

Consequentially, the assigned variable is not used in this test. To not generate warnings, I suggest to not assign the return value at all.
  • Loading branch information
leonqadirie authored Nov 7, 2024
1 parent 102bfb7 commit 8f7f4ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_remove_the_last_person_validate_queue(self):
for variant, (input, modified) in enumerate(test_data, start=1):
with self.subTest(f'variation #{variant}', input=input, modified=modified):
unmodified = deepcopy(input)
actual_result = remove_the_last_person(input)
remove_the_last_person(input)
expected_queue = modified

error_message = (f'\nCalled remove_the_last_person({unmodified}).\n'
Expand Down

0 comments on commit 8f7f4ca

Please sign in to comment.