pypy-postgresql / lib-python / 2.7 / test /

Full commit
"""Test cases for"""

def f(): pass

class Other(object):
    def foo(c): pass

    def om(self): pass

class B (object):
    def bm(self): pass

class C (B):
    foo = Other().foo
    om =

    d = 10

    # XXX: This causes to fail, but only because the
    #      introspection-based is_method() code in the test can't
    #      distinguish between this and a genuine method function like m().
    #      The module gets this right as it parses the text.
    #f = f

    def m(self): pass

    def sm(self): pass

    def cm(self): pass