code: def test_entry_points_distribution(self):
      entries = entry_points(group="entries")
      for entry in ("main", "ns:sub"):
          ep = entries[entry]
          self.assertIn(ep.dist.name, ("distinfo-pkg", "egginfo-pkg"))
          self.assertEqual(ep.dist.version, "1.0.0")
  
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 9 for calling the APITests obj's underlying member method code with example usage: obj.test_entry_points_distribution() without return types