code: def testResultTypePythonNestedStructure(self):
      with DtypeConversionTestEnv("all"):
          # i32* + f32* => f32*
          self.assertEqual(
              flexible_dtypes.result_type([1], [1.0]),
              (dtypes.float32, True),
          )
          # f32* + c128* => c128*
          self.assertEqual(
              flexible_dtypes.result_type([1, 2.0], [1.0j]),
              (dtypes.complex128, True),
          )
          self.assertEqual(
              flexible_dtypes.result_type(
                  [[1, 1.0], [1.0, 1.0]], [1.0j]
              ),
              (dtypes.complex128, True),
          )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import extension_type
  from tensorflow.python.framework import flexible_dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import weak_tensor
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import weak_tensor_test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the DtypesUtilTest obj's underlying member method code with example usage: obj.testResultTypePythonNestedStructure() without return types