code: def test_type_returns():
      for tf_t, dali_t in matching_types:
          yield dali_pipe_types, tf_t, dali_t
      for tf_t, dali_t in not_matching_types:
          yield raises(
              tf.errors.InvalidArgumentError,
              "The type provided for output `0` is not compatible with the type "
              "returned by DALI Pipeline",
          )(dali_pipe_types), tf_t, dali_t
  
imports: import tensorflow
  import nvidia.dali.ops
  import nvidia.dali.pipeline
  import nvidia.dali.plugin.tf
  import nvidia.dali.types
  from test_utils_tensorflow import skip_for_incompatible_tf
  import os
  from nose.tools import assert_equals
  from nose_utils import raises
  import itertools
  import warnings
label_desc: Use image node_id 15 for calling a global function with example usage: test_type_returns() without return types