Skip to content

Commit 8f7f4ca

Browse files
authored
Remove unused variable assignment in list_methods_test.py
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.
1 parent 102bfb7 commit 8f7f4ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/chaitanas-colossal-coaster/list_methods_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_remove_the_last_person_validate_queue(self):
165165
for variant, (input, modified) in enumerate(test_data, start=1):
166166
with self.subTest(f'variation #{variant}', input=input, modified=modified):
167167
unmodified = deepcopy(input)
168-
actual_result = remove_the_last_person(input)
168+
remove_the_last_person(input)
169169
expected_queue = modified
170170

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

0 commit comments

Comments
 (0)