Skip to content

Commit 30d8a50

Browse files
committed
🚨 Fix deepsource warning
1 parent 342a962 commit 30d8a50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/_streams/test_stream_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ def test_convert_to_sequential_stream_parallel_numeric(self):
5858
("sequential numeric stream", SequentialNumericStream)])
5959
def test_convert_sequential_to_parallel_parallelizer_working(self, _, stream):
6060
res = []
61-
stream([1, 2, 3]).parallel().filter(lambda x: x > 1).for_each(lambda x: res.append(x))
61+
stream([1, 2, 3]).parallel().filter(lambda x: x > 1).for_each(res.append)
6262
self.assertEqual(res, [2, 3])

0 commit comments

Comments
 (0)