Skip to content

Commit a4bb78d

Browse files
committed
New comprehention koans, moved one example from about_iteration
1 parent de522b5 commit a4bb78d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

python3/koans/about_iteration.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,6 @@ def test_reduce_will_blow_your_mind(self):
107107

108108
# ------------------------------------------------------------------
109109

110-
def test_creating_lists_with_list_comprehensions(self):
111-
feast = ['lambs', 'sloths', 'orangutans', 'breakfast cereals', 'fruit bats']
112-
113-
comprehension = [delicacy.capitalize() for delicacy in feast]
114-
115-
self.assertEqual(__, comprehension[0])
116-
self.assertEqual(__, comprehension[2])
117-
118110
def test_use_pass_for_iterations_with_no_body(self):
119111
for num in range(1,5):
120112
pass

0 commit comments

Comments
 (0)