Lichen

Change of tests/consts.py

266:7267486338ae
tests/consts.py
     1.1 --- a/tests/consts.py	Mon Nov 28 00:59:41 2016 +0100
     1.2 +++ b/tests/consts.py	Mon Nov 28 01:00:10 2016 +0100
     1.3 @@ -2,15 +2,20 @@
     1.4      s = "test"
     1.5      m = s.__len__
     1.6      n = "test".__len__
     1.7 -    print m()
     1.8 +    print m                 # __builtins__.str.basestring.__len__
     1.9 +    print m()               # 4
    1.10 +    print n                 # __builtins__.str.basestring.__len__
    1.11      print n()
    1.12  
    1.13  def g():
    1.14 -    l = [1]
    1.15 +    l = [1, 2]
    1.16      m = l.__len__
    1.17 -    n = [1].__len__
    1.18 -    print m()
    1.19 -    print n()
    1.20 +    n = [1, 2].__len__
    1.21 +    print l                 # [1, 2]
    1.22 +    print m                 # __builtins__.list.list.__len__
    1.23 +    print m()               # 2
    1.24 +    print n                 # __builtins__.list.list.__len__
    1.25 +    print n()               # 2
    1.26  
    1.27  f()
    1.28  g()