class_docstr: Test ExtensionFileLoader.
class_docstr_tok: ["Test","ExtensionFileLoader","."]
code: def test_is_package(self):
      self.assertFalse(self.loader.is_package(util.EXTENSIONS.name))
      for suffix in self.machinery.EXTENSION_SUFFIXES:
          path = os.path.join(
              "some", "path", "pkg", "__init__" + suffix
          )
          loader = self.machinery.ExtensionFileLoader("pkg", path)
          self.assertTrue(loader.is_package("pkg"))
  
imports: from test.test_importlib import abc, util
  import os.path
  import sys
  import types
  import unittest
  import warnings
  import importlib.util
  import importlib
  from test.support import MISSING_C_DOCSTRINGS
label_desc: Use image node_id 9 for calling the LoaderTests obj's underlying member method code with example usage: obj.test_is_package() without return types