Skip to content

Commit 09010a6

Browse files
committed
New comprehention koans, moved one example from about_iteration
1 parent 20ced9c commit 09010a6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python2/koans/about_iteration.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ def test_reduce_will_blow_your_mind(self):
8585

8686
# ------------------------------------------------------------------
8787

88-
def test_creating_lists_with_list_comprehensions(self):
89-
feast = ['lambs', 'sloths', 'orangutans', 'breakfast cereals',
90-
'fruit bats']
91-
92-
comprehension = [delicacy.capitalize() for delicacy in feast]
93-
94-
self.assertEqual(__, comprehension[0])
95-
self.assertEqual(__, comprehension[2])
96-
9788
def test_use_pass_for_iterations_with_no_body(self):
9889
for num in range(1, 5):
9990
pass

0 commit comments

Comments
 (0)