def METHOD_NAME():
    class TestMetaMixin:
        foo = 'bar'
    @with_meta
    class Test:
        class Meta(TestMetaMixin):
            foo = 'baz'
        def __init__(self, foo):
            assert foo == 'baz'
    # noinspection PyArgumentList
    Test()