1. Greg Malcolm
  2. python_koans

Commits

Greg Malcolm  committed 79cd850

Merge gh pull request #22 from arksega/master 'Fixing syntax error: equivelant -> equivalent'

  • Participants
  • Parent commits 0b03cba
  • Branches default

Comments (0)

Files changed (2)

File python2/koans/about_generators.py

View file
         next(generator2)
         self.assertEqual(__, next(generator2))
 
-    def test_send_none_is_equivelant_to_next(self):
+    def test_send_none_is_equivalent_to_next(self):
         generator = self.yield_tester()
         
         next(generator)
-        # 'next(generator)' is exactly equivelant to 'generator.send(None)'
+        # 'next(generator)' is exactly equivalent to 'generator.send(None)'
         self.assertEqual(__, generator.send(None))

File python3/koans/about_generators.py

View file
         next(generator2)
         self.assertEqual(__, next(generator2))
 
-    def test_send_none_is_equivelant_to_next(self):
+    def test_send_none_is_equivalent_to_next(self):
         generator = self.yield_tester()
         
         next(generator)
-        # 'next(generator)' is exactly equivelant to 'generator.send(None)'
+        # 'next(generator)' is exactly equivalent to 'generator.send(None)'
         self.assertEqual(__, generator.send(None))