diff --git a/Lib/test/testall.py b/Lib/test/testall.py index 20d9ec821ab..a385be1decb 100644 --- a/Lib/test/testall.py +++ b/Lib/test/testall.py @@ -177,10 +177,12 @@ def g2(): return 1 try: pass try: 1/0 except RuntimeError: pass +except ZeroDivisionError: pass try: 1/0 except EOFError: pass except TypeError, msg: pass except RuntimeError, msg: pass +except ZeroDivisionError, msg: pass except: pass try: pass finally: pass @@ -291,6 +293,7 @@ def meth3(self, (a1, a2)): pass try: 1/0 except NameError: pass except RuntimeError: pass + except ZeroDivisionError: pass except TypeError: pass finally: pass try: pass