code: def _tarinfo(self, path):
      tar = tarfile.open(path)
      try:
          names = tar.getnames()
          names.sort()
          return names
      finally:
          tar.close()
  
imports: import unittest
  import os
  import sys
  import tarfile
  from os.path import splitdrive
  import warnings
  from distutils.archive_util import check_archive_formats, make_tarball, make_zipfile, make_archive, ARCHIVE_FORMATS
  from distutils.spawn import find_executable, spawn
  from distutils.tests import support
  from test.test_support import check_warnings, run_unittest
label_desc: Use image node_id 3 for calling the ArchiveUtilTestCase obj's underlying member method code with example usage: obj._tarinfo(path) and returns: names