class_docstr: Most tests done in the base class LinearOperatorDerivedClassTest.
class_docstr_tok: ["Most","tests","done","in","the","base","class","LinearOperatorDerivedClassTest","."]
code: def test_assert_self_adjoint_does_not_raise_for_diag_with_zero_imag(
      self,
  ):
      with self.cached_session():
          x = [1.0, 0.0]
          y = [0.0, 0.0]
          diag = math_ops.complex(x, y)
          operator = linalg.LinearOperatorDiag(diag)
          # Should not raise
          self.evaluate(operator.assert_self_adjoint())
  
imports: from tensorflow.python.framework import config
  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 import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.linalg import linalg
  from tensorflow.python.ops.linalg import linear_operator_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the LinearOperatorDiagTest obj's underlying member method code with example usage: obj.test_assert_self_adjoint_does_not_raise_for_diag_with_zero_imag() without return types