code: def test_input_check_sort_boxes_by_confidence(self):
      # Input should not be empty
      expected_exception = ValueError
      expected_regex = "Input boxes list should be a 2d array"
      self.assertRaisesRegex(
          expected_exception,
          expected_regex,
          bounding_box.sort_boxes_by_confidence,
          np.array([20, 60, 290]),
      )
  
file_path: model-analysis/tensorflow_model_analysis/metrics/preprocessors/utils/bounding_box_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_model_analysis.metrics.preprocessors.utils import bounding_box
label_desc: Use image node_id 8 for calling the BoundingBoxTest obj's underlying member method code with example usage: obj.test_input_check_sort_boxes_by_confidence() without return types