2016-09-28 | Paul Boddie | raw files shortlog changelog graph | Test class attribute access via instances. | |
tests/chain.py (file) |
1.1 --- a/tests/chain.py Sun Sep 25 22:44:04 2016 +0200 1.2 +++ b/tests/chain.py Wed Sep 28 22:57:04 2016 +0200 1.3 @@ -3,8 +3,11 @@ 1.4 class E: 1.5 def m(self, x): 1.6 self.x = x 1.7 - return self.x.__len__ 1.8 + l = self.x.__len__ 1.9 + s = self.o 1.10 + return self.o.__len__ 1.11 n = 123 1.12 + o = "123" 1.13 p = "456" 1.14 1.15 def main():