def METHOD_NAME(self):
    import pytest
    mod = self.make_module("""
        static HPyStructSequence_Field sentinel = { NULL, NULL };
        static HPyStructSequence_Desc nofields_desc = {
            .fields = &sentinel
        };
        HPyDef_METH(build, "build", HPyFunc_NOARGS)
        static HPy build_impl(HPyContext *ctx, HPy self)
        {
            return HPyStructSequence_NewType(ctx, &nofields_desc);
        }
        @EXPORT(build)
        @INIT
    """)
    with pytest.raises(SystemError):
        mod.build()