def METHOD_NAME() -> None:
    """Pluggy must be able to handle plugins which raise weird exceptions
    when getattr() gets called (#11).
    """
    class DontTouchMe:
        def __getattr__(self, x):
            raise Exception("can't touch me")
    class Module:
        pass
    module = Module()
    module.x = DontTouchMe()  # type: ignore[attr-defined]
    pm = PluginManager(hookspec.project_name)
    # register() would raise an error
    pm.register(module, "donttouch")
    assert pm.get_plugin("donttouch") is module