code: def test_python_generator_input(self):
      def generator_example():
          for i in range(100):
              yield (np.array([i]), np.array([i * 2]))
  
      x = generator_example()
      epoch_iter = epoch_iterator.EpochIterator(x=x)
      self.assertIsInstance(
          epoch_iter.data_adapter,
          data_adapters.GeneratorDataAdapter,
      )
  
imports: import numpy
  import pytest
  import tensorflow
  from keras import backend
  from keras import testing
  from keras.trainers import data_adapters
  from keras.trainers import epoch_iterator
label_desc: Use image node_id 10 for calling the TestEpochIterator obj's underlying member method code with example usage: obj.test_python_generator_input() without return types