def METHOD_NAME():
    def not_convertible(f):
        class NotConvertibleMethod(SDFGConvertible):
            def __sdfg__(self, *args, **kwargs):
                # Raise a special type of error that does not naturally occur in dace
                raise NotADirectoryError('I am not really convertible')
            def __sdfg_signature__(self):
                return ([], [])
        return NotConvertibleMethod()
    class MaybeConvertible:
        @not_convertible
        def __call__(self, a):
            import numpy as np
            print('A very pythonic method', a)
    A = np.random.rand(20)
    with pytest.raises(NotADirectoryError):
        @dace.program
        def testprogram(A, nc: dace.compiletime):
            nc(A)
        testprogram(A, MaybeConvertible())