code: def test_row_matrix_creator_helpers(helper):
      if helper is row:
          match = (
              "The first dimension of a `row` must have shape 1, got 2"
          )
      else:
          match = (
              "The second dimension of a `col` must have shape 1, got 5"
          )
      with pytest.raises(ValueError, match=match):
          helper(shape=(2, 5))
  
imports: import os.path
  from tempfile import mkdtemp
  import numpy
  import pytest
  import pytensor.tensor
  from pytensor.configdefaults import config
  from pytensor.tensor.shape import SpecifyShape
  from pytensor.tensor.type import TensorType, col, matrix, row, scalar, tensor, tensor3, tensor4, tensor5, tensor6, tensor7, vector
label_desc: Use image node_id 24 for calling a global function with example usage: test_row_matrix_creator_helpers(helper) without return types