1.1 --- a/tests/attribute_access_type_restriction_conditional.py Thu Jun 14 22:53:23 2012 +0200
1.2 +++ b/tests/attribute_access_type_restriction_conditional.py Tue Jun 19 00:29:57 2012 +0200
1.3 @@ -1,13 +1,13 @@
1.4 #!/usr/bin/env python
1.5
1.6 """
1.7 -This test attempts to record the usage of 'D' in 'test_conditional' since 'f'
1.8 -and 'g' are both normally required, and only 'D' provides these attributes.
1.9 -Classes 'C' and 'E' should lose their methods, even 'E.f'.
1.10 +This test attempts to record the usage of 'C', 'D' or 'E' in 'test_conditional'
1.11 +since 'f' and 'g' might be used, but only 'f' is actually required. Although
1.12 +only 'D' provides both attributes, classes 'C' and 'E' provide 'f'.
1.13 """
1.14
1.15 class C:
1.16 - def f(self): # unused
1.17 + def f(self): # unused but retained
1.18 return 1
1.19
1.20 class D:
1.21 @@ -18,7 +18,7 @@
1.22 return 3
1.23
1.24 class E:
1.25 - def f(self): # unused
1.26 + def f(self): # unused but retained
1.27 return 4
1.28
1.29 def h(self): # unused