code: def testRealDtype(self):
      for dtype in [
          dtypes.float32,
          dtypes.float64,
          dtypes.bool,
          dtypes.uint8,
          dtypes.int8,
          dtypes.int16,
          dtypes.int32,
          dtypes.int64,
          dtypes.float8_e5m2,
          dtypes.float8_e4m3fn,
          dtypes.int4,
          dtypes.uint4,
      ]:
          self.assertIs(dtype.real_dtype, dtype)
      self.assertIs(dtypes.complex64.real_dtype, dtypes.float32)
      self.assertIs(dtypes.complex128.real_dtype, dtypes.float64)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import _dtypes
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.function import trace_type
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the TypesTest obj's underlying member method code with example usage: obj.testRealDtype() without return types