def METHOD_NAME():
    @with_meta
    class Test:
        class Meta:
            foo = 'foo'
        # noinspection PyUnusedLocal
        def __init__(self, foo):
            pass
    with pytest.raises(TypeError) as e:
        # noinspection PyArgumentList
        Test('foo', 'bar')
    assert 'Too many positional arguments' == str(e.value)