def METHOD_NAME(self):
    mod = self.make_module("""
        #include <Python.h>
        HPyDef_METH(f, "f", HPyFunc_NOARGS)
        static HPy f_impl(HPyContext *ctx, HPy self)
        {
            return HPyUnicode_FromString(ctx, HPY_ABI);
        }
        @EXPORT(f)
        @INIT
    """)
    hpy_abi = mod.f()
    expected = self.compiler.hpy_abi
    if expected in ('hybrid+debug', 'hybrid+trace'):
        expected = 'hybrid'
    assert hpy_abi == expected