def METHOD_NAME():
    with patch("ert.ensemble_evaluator.sync_ws_duplexer.wait_for_evaluator") as w:
        w.side_effect = OSError("expected OSError")
        with pytest.raises(OSError, match="expected OSError"):
            SyncWebsocketDuplexer("ws://localhost:0", "http://localhost:0", None, None)