def METHOD_NAME():
    def wrapper_2(func):
        ns = {}
        exec('def fail_func(): raise ValueError("fail")', ns)
        return ns['fail_func']
    def wrapper_1(func):
        assert hasattr(func, '__name__')
        assert hasattr(func, '__module__')
        assert func.__module__ is None
        return func
    @wrapper_1
    @wrapper_2
    def test_func():
        pass