code: def test_is_square_set_inconsistent_with_other_hints_raises(self):
      with self.assertRaisesRegex(ValueError, "is always square"):
          matrix = array_ops.placeholder_with_default(
              input=(), shape=None
          )
          LinearOperatorMatmulSolve(
              matrix, is_non_singular=True, is_square=False
          )
  
      with self.assertRaisesRegex(ValueError, "is always square"):
          matrix = array_ops.placeholder_with_default(
              input=(), shape=None
          )
          LinearOperatorMatmulSolve(
              matrix, is_positive_definite=True, is_square=False
          )
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.parallel_for import control_flow_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the LinearOperatorTest obj's underlying member method code with example usage: obj.test_is_square_set_inconsistent_with_other_hints_raises() without return types