code: def test_requires_egg_info(self):
      deps = requires("egginfo-pkg")
      assert len(deps) == 2
      assert any(
          dep == 'wheel >= 1.0; python_version >= "2.7"' for dep in deps
      )
  
imports: import re
  import textwrap
  import unittest
  import warnings
  import importlib
  import contextlib
  from .None import fixtures
  from importlib.metadata import Distribution, PackageNotFoundError, distribution, entry_points, files, metadata, requires, version
label_desc: Use image node_id 24 for calling the APITests obj's underlying member method code with example usage: obj.test_requires_egg_info() without return types