# HG changeset patch # User paulb@jeremy # Date 1161723795 -7200 # Node ID 353f320afab7eecff0a970042dccf78c8ee6146e # Parent 050007f75804908d82bcfc15aa1230cdce304359 Made the tests sensible. diff -r 050007f75804 -r 353f320afab7 tests/tryexcept.py --- a/tests/tryexcept.py Mon Oct 23 23:59:44 2006 +0200 +++ b/tests/tryexcept.py Tue Oct 24 23:03:15 2006 +0200 @@ -1,3 +1,11 @@ +class A: + pass +class B: + pass +class C: + pass + +b = 0; c = 1; y = 2 try: x = y except A, e: diff -r 050007f75804 -r 353f320afab7 tests/tryfinally.py --- a/tests/tryfinally.py Mon Oct 23 23:59:44 2006 +0200 +++ b/tests/tryfinally.py Tue Oct 24 23:03:15 2006 +0200 @@ -1,3 +1,9 @@ +class X: + def y(self): pass +class Y: + def x(self): pass +x = X() +y = Y() try: x.y() finally: