Source

pyyaml / tests / test_errors.py

Diff from to

tests/test_errors.py

     def _emit(self, events):
         try:
             emit(events)
-        except EmitterError, exc:
+        except YAMLError, exc:
             #print '.'*70
             #print "%s:" % exc.__class__.__name__, exc
             raise