code: def test_min_non_mul_elemwise_fails():
      """Test whether the logprob for ```pt.min``` for non-mul elemwise RVs is rejected correctly"""
      x = pt.log(pt.random.beta(0, 1, size=(3,)))
      x.name = "x"
      x_min = pt.min(x, axis=-1)
      x_min_value = pt.vector("x_min_value")
      with pytest.raises(
          RuntimeError,
          match=re.escape("Logprob method not implemented"),
      ):
          x_min_logprob = logp(x_min, x_min_value)
  
file_path: pymc/tests/logprob/test_order.py
imports: import re
  import numpy
  import pytensor.tensor
  import pytest
  import scipy.stats
  import pymc
  from pymc import logp
  from pymc.testing import assert_no_rvs
label_desc: Use image node_id 9 for calling a global function with example usage: test_min_non_mul_elemwise_fails() without return types