Lichen

tests/mutual_import/B.py

601:adcdaeb19307
2017-02-19 Paul Boddie Fixed the context test and set operation to replace the local context with any applicable attribute context. Added a test of method rebinding that requires this fix. method-wrapper-for-context
     1 from A import D, f     2      3 class C:     4     c = 1     5     def m(self):     6         return self.c     7      8 class E(D):     9     e = 2    10     def m(self):    11         return self.e    12     13 def g(x):    14     return f(x)