1.1 --- a/tests/attributes_instance_bind_method.py Sat May 30 20:27:20 2009 +0200
1.2 +++ b/tests/attributes_instance_bind_method.py Sat May 30 20:30:28 2009 +0200
1.3 @@ -7,12 +7,9 @@
1.4 return x
1.5
1.6 class A:
1.7 - c1 = B
1.8 m1 = B.m
1.9 def __init__(self, b):
1.10 - self.c2 = B
1.11 self.m2 = B.m
1.12 - self.c3 = b
1.13 self.m3 = b.m
1.14
1.15 b = B(789)
1.16 @@ -22,11 +19,4 @@
1.17 result_345 = a.m2(b, 345) # a.m2 is unbound
1.18 result_456 = a.m3(456) # a.m3 is bound to b
1.19
1.20 -b1 = A.c1(678) # A.c1 is just a reference to B
1.21 -result_678 = b1.y
1.22 -b2 = a.c1(567) # a.c1 is just a reference to B
1.23 -result_567 = b2.y
1.24 -b3 = a.c2(765) # a.c2 is just a reference to B
1.25 -result_765 = b3.y
1.26 -
1.27 # vim: tabstop=4 expandtab shiftwidth=4