class_docstr: Tests for PathFinder.
class_docstr_tok: ["Tests","for","PathFinder","."]
code: def test_path_importer_cache_empty_string(self):
      # The empty string should create a finder using the cwd.
      path = ""
      module = "<test module>"
      importer = util.mock_spec(module)
      hook = util.mock_path_hook(os.getcwd(), importer=importer)
      with util.import_state(path=[path], path_hooks=[hook]):
          found = self.find(module)
          self.check_found(found, importer)
          self.assertIn(os.getcwd(), sys.path_importer_cache)
  
imports: from test.test_importlib import util
  import os
  import sys
  import tempfile
  from types import ModuleType
  import unittest
  import warnings
  import zipimport
label_desc: Use image node_id 7 for calling the FinderTests obj's underlying member method code with example usage: obj.test_path_importer_cache_empty_string() without return types