1.1 --- a/tests/chain.py Sat Sep 24 22:44:45 2016 +0200
1.2 +++ b/tests/chain.py Sun Sep 25 22:44:04 2016 +0200
1.3 @@ -2,7 +2,8 @@
1.4 class D:
1.5 class E:
1.6 def m(self, x):
1.7 - return x
1.8 + self.x = x
1.9 + return self.x.__len__
1.10 n = 123
1.11 p = "456"
1.12
1.13 @@ -16,7 +17,7 @@
1.14 i = C.D.p.__len__
1.15 inst = e()
1.16 method = inst.m
1.17 - return method(5)
1.18 + return method("5")
1.19
1.20 result1 = main()
1.21 c = C
1.22 @@ -28,4 +29,4 @@
1.23 i = C.D.p.__len__
1.24 inst = e()
1.25 method = inst.m
1.26 -result2 = method(5)
1.27 +result2 = method("5")