class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
code: def test_singular_raises(self):
      # The matrix values do not effect auto-setting of the flags.
      matrix = [[1.0, 1.0], [1.0, 1.0]]
  
      operator = linalg.LinearOperatorFullMatrix(
          matrix, is_non_singular=False
      )
      with self.assertRaisesRegex(ValueError, "is_non_singular"):
          LinearOperatorInversion(operator)
  
      operator = linalg.LinearOperatorFullMatrix(matrix)
      with self.assertRaisesRegex(ValueError, "is_non_singular"):
          LinearOperatorInversion(operator, is_non_singular=False)
  
imports: from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_inversion
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 10 for calling the LinearOperatorInversionTest obj's underlying member method code with example usage: obj.test_singular_raises() without return types