code: def test_make_requires_info_with_task_on_kart(self):
      requires = _RequiredTaskExampleTaskA()
      resulted = _make_requires_info(requires=requires)
      expected = RequiredTask(
          name=requires.__class__.__name__,
          unique_id=requires.make_unique_id(),
      )
      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 1 for calling the TestMakeRequiresInfo obj's underlying member method code with example usage: obj.test_make_requires_info_with_task_on_kart() without return types