Commits

Greg Malcolm committed 91365a1

Merging in last change again

  • Participants
  • Parent commits eef9b4b

Comments (0)

Files changed (1)

File python 2/koans/about_generators.py

         self.assertEqual(2, num_list[0])
         
         # A generator has to be iterated through.
-        self.assertRaises(___, num_generator, [0])  # Evaluates num_generator[0]
+        self.assertRaises(___, num_generator[0])  # Evaluates num_generator[0]
         self.assertEqual(__, list(num_generator)[0])  # This works though
         
         # Both list comprehensions and generators can be iterated