code: def test_wrong_sample_dim():
      with assert_raises(
          RuntimeError,
          glob="The number of dimensions 5 does not match any of the allowed",
      ):
          _test_shape_pipeline((1, 1, 1, 1, 1), np.uint8)
  
imports: import itertools
  import os
  import unittest
  import numpy
  from nvidia.dali import pipeline_def, fn, types
  from test_utils import get_dali_extra_path
  from nose_utils import assert_raises
  from nose2.tools import params
  from debayer_test_utils import bayer_patterns, blue_position, blue_position2pattern, rgb2bayer, rgb2bayer_seq, debayer_bilinear_npp_pattern, debayer_bilinear_npp_pattern_seq
label_desc: Use image node_id 8 for calling a global function with example usage: test_wrong_sample_dim() without return types