code: def test_name_normalization_versionless_egg_info(self):
      names = "pkg.lot", "pkg_lot", "pkg-lot", "pkg..lot", "Pkg.Lot"
      for name in names:
          with self.subTest(name):
              assert distribution(name).metadata["Name"] == "pkg.lot"
  
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 2 for calling the LegacyDots obj's underlying member method code with example usage: obj.test_name_normalization_versionless_egg_info() without return types