code: def testWrongDimensionsV1(self):
      randn = np.random.RandomState(0).randn
      for dtype in self.float_types:
          lhs = constant_op.constant(randn(3, 3), dtype=dtype)
          rhs = constant_op.constant(randn(4, 3), dtype=dtype)
          with self.assertRaises(ValueError):
              linalg_ops.matrix_triangular_solve(lhs, rhs)
          with self.assertRaises(ValueError):
              linalg_ops.matrix_triangular_solve(lhs, rhs)
  
imports: import itertools
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 14 for calling the MatrixTriangularSolveOpTest obj's underlying member method code with example usage: obj.testWrongDimensionsV1() without return types