def METHOD_NAME(self):
    # It's unclear what the semantics should be for a code object compiled
    # at module scope, but bound and run in a function.  In CPython, `c' is
    # global (by accident?) while in Jython, `c' is local.  The intent of
    # the test clearly is to make `c' global, so let's be explicit about it.
    codestr = '''
    global c
    a = 1
    b = 2
    c = a + b
    '''
    codestr = "\n".join(l.strip() for l in codestr.splitlines())
    ccode = compile(codestr, '<string>', 'exec')
    # Jython doesn't have a __builtins__, so use a portable alternative
    import __builtin__
    g = {'c': 0, '__builtins__': __builtin__}
    # this test could be more robust
    func = new.function(ccode, g)
    func()
    self.assertEqual(g['c'], 3, 'Could not create a proper function object')