code: def test_effective_sample_size_too_many_probs(self, relative):
      with pytest.raises(ValueError):
          ess(
              np.random.randn(4, 100),
              method="local",
              prob=[0.1, 0.2, 0.9],
              relative=relative,
          )
  
imports: import os
  import numpy
  import packaging
  import pandas
  import pytest
  import scipy
  from numpy.testing import assert_almost_equal
  from ...data import from_cmdstan, load_arviz_data
  from ...rcparams import rcParams
  from ...sel_utils import xarray_var_iter
  from ...stats import bfmi, ess, mcse, rhat
  from ...stats.diagnostics import _ess, _ess_quantile, _mc_error, _mcse_quantile, _multichain_statistics, _rhat, _rhat_rank, _split_chains, _z_scale, ks_summary
label_desc: Use image node_id 15 for calling the TestDiagnostics obj's underlying member method code with example usage: obj.test_effective_sample_size_too_many_probs(relative) without return types