class_docstr: Tests for PathFinder.
class_docstr_tok: ["Tests","for","PathFinder","."]
code: def test_empty_list(self):
      # An empty list should not count as asking for sys.path.
      module = "module"
      path = "<test path>"
      importer = util.mock_spec(module)
      with util.import_state(
          path_importer_cache={path: importer}, path=[path]
      ):
          self.assertIsNone(self.find("module", []))
  
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 4 for calling the FinderTests obj's underlying member method code with example usage: obj.test_empty_list() without return types