# HG changeset patch # User paulb@localhost.localdomain # Date 1169329911 -3600 # Node ID e43147ec0cae09f49fb26c8017e8ac93c567161f # Parent 9bb4f6cb38a4823dbc9a2e96bcd8edd6afd84049 Added multiple instance test. diff -r 9bb4f6cb38a4 -r e43147ec0cae tests/class.py --- a/tests/class.py Sun Jan 14 03:00:20 2007 +0100 +++ b/tests/class.py Sat Jan 20 22:51:51 2007 +0100 @@ -3,7 +3,10 @@ x = 123 def m(self, x): self.x = x -a = A() +a1 = A() +a2 = A() y = A.x -a.m(321) -z = a.x +a1.m(321) +a2.m("321") +z1 = a1.x +z2 = a2.x