def METHOD_NAME():
    """Check that a forksafe.Event is reset after a fork().
    This test fails with a regular threading.Event.
    """
    event = forksafe.Event()
    event.set()
    pid = os.fork()
    if pid == 0:
        # child
        assert event.is_set() is False
        os._exit(12)
    assert event.is_set() is True
    _, status = os.waitpid(pid, 0)
    exit_code = os.WEXITSTATUS(status)
    assert exit_code == 12