async def METHOD_NAME(c, s, a, b):
    # Event names could be strings, numbers or tuples
    for name in [1, ("a", 1), ["a", 1], b"123", "123"]:
        event = Event(name)
        assert event.name == name
        await event.set()
        await event.clear()
        result = await event.is_set()
        assert not result
    assert not s.extensions["events"]._events
    assert not s.extensions["events"]._waiter_count