81e0997715bb — Greg Malcolm 11 years ago
Fixed bad regex assert in Python 3 flavor of AboutGenerators (Thanks hiveNzin0 for spotting that one)
1 files changed, 3 insertions(+), 1 deletions(-)

M python 3/koans/about_generators.py
M python 3/koans/about_generators.py +3 -1
@@ 114,7 114,9 @@ class AboutGenerators(Koan):
         try:
             generator.send(1+2)
         except TypeError as ex:
-            self.assertMatch(__, ex[0])
+          ex2 = ex
+        
+        self.assertRegexpMatches(ex2.args[0], __)
                 
     # ------------------------------------------------------------------