code: def test_detrend_mean_ValueError(self):
      for signal, kwargs in [
          (5.5, {"axis": 0}),
          (self.sig_slope, {"axis": 1}),
          (self.sig_slope[np.newaxis], {"axis": 2}),
      ]:
          with pytest.raises(ValueError):
              mlab.detrend_mean(signal, **kwargs)
  
imports: from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal, assert_array_almost_equal_nulp
  import numpy
  import pytest
  from matplotlib import mlab
label_desc: Use image node_id 8 for calling the TestDetrend obj's underlying member method code with example usage: obj.test_detrend_mean_ValueError() without return types