code: def test_bins_error_2(self):
      # mixing scalar (# of bins) and explicit bin arrays, ugh
      x = np.arange(8).reshape(2, 4)
      assert_(np.histogramdd(x, bins=[1, 1, 1, [1, 2, 3, 4]]))
  
imports: import functools
  from unittest import expectedFailure, skipIf
  from pytest import raises
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, slowTest, TEST_WITH_TORCHDYNAMO, TestCase, xpassIfTorchDynamo
label_desc: Use image node_id 8 for calling the TestHistogramdd obj's underlying member method code with example usage: obj.test_bins_error_2() without return types