class_docstr: Test the path hook for extension modules.
class_docstr_tok: ["Test","the","path","hook","for","extension","modules","."]
code: def test_success(self):
      # Path hook should handle a directory where a known extension module
      # exists.
      self.assertTrue(
          hasattr(self.hook(util.EXTENSIONS.path), "find_spec")
      )
  
imports: from test.test_importlib import util
  import unittest
label_desc: Use image node_id 2 for calling the PathHookTests obj's underlying member method code with example usage: obj.test_success() without return types