def METHOD_NAME(self):
    """
    verify that referencing outer names is allowed via allow_outer
    """
    def magic(text):
        return text.upper()
    class S(SymbolDef, allow_outer=['magic']):
        foo = magic('foo')
    self.assertEqual(S.foo, 'FOO')