code: def test_make_requires_info_with_generator(self):
      def _requires_gen():
          return (_RequiredTaskExampleTaskA() for _ in range(2))
  
      resulted = _make_requires_info(requires=_requires_gen())
      expected = [
          RequiredTask(
              name=require.__class__.__name__,
              unique_id=require.make_unique_id(),
          )
          for require in _requires_gen()
      ]
      self.assertEqual(resulted, expected)
  
file_path: gokart/test/tree/test_task_info_formatter.py
imports: import unittest
  import gokart
  from gokart.tree.task_info_formatter import RequiredTask, _make_requires_info
label_desc: Use image node_id 3 for calling the TestMakeRequiresInfo obj's underlying member method code with example usage: obj.test_make_requires_info_with_generator() and returns: unknown