micropython

Change of tests/failure/shadow_class_global_reassign.py

339:b8c6ae738723
tests/failure/shadow_class_global_reassign.py
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/failure/shadow_class_global_reassign.py	Sat Jun 12 21:33:36 2010 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +#!/usr/bin/env python
     1.5 +
     1.6 +def f(self, x):
     1.7 +    return x
     1.8 +
     1.9 +class C:
    1.10 +    e = f
    1.11 +
    1.12 +    def f(self, x):
    1.13 +        return x
    1.14 +
    1.15 +c = C()
    1.16 +c.f(1)
    1.17 +
    1.18 +# vim: tabstop=4 expandtab shiftwidth=4