1.1 --- a/tests/attribute_access_type_restriction.py Sun Nov 22 23:53:30 2009 +0100
1.2 +++ b/tests/attribute_access_type_restriction.py Mon Nov 23 01:22:06 2009 +0100
1.3 @@ -18,15 +18,6 @@
1.4 def h(self):
1.5 return 5
1.6
1.7 -def test_conditional(obj):
1.8 - # obj: C, D, E (f)
1.9 - if obj.f(): # C, D, E (f)
1.10 - obj.g() # D (f, g)
1.11 - # else:
1.12 - # ... # obj: C, D, E (f)
1.13 - # # (f, g) ^ (f)
1.14 - return 2
1.15 -
1.16 def test_new(obj, obj2):
1.17 # obj: C, D, E (f)
1.18 # obj2:
1.19 @@ -62,7 +53,6 @@
1.20 c = C()
1.21 d = D()
1.22 e = E()
1.23 -result1_2 = test_conditional(d)
1.24 result2_2 = test_new(c, d)
1.25 result1_4 = test_neither(c, d)
1.26 result1_5 = test_new_conditional(e, d)