code: def test_find_config_ignores_unknown_homedir(tmp_path):
      subdir = tmp_path.joinpath("d")
  
      with mock.patch.object(
          os.path, "expanduser", return_value=str(subdir)
      ):
          assert config._find_config_file(str(tmp_path)) is None
  
imports: from __future__ import annotations
  import configparser
  import os.path
  from unittest import mock
  import pytest
  from flake8 import exceptions
  from flake8.main.options import register_default_options
  from flake8.options import config
  from flake8.options.manager import OptionManager
label_desc: Use image node_id 9 for calling a global function with example usage: test_find_config_ignores_unknown_homedir(tmp_path) without return types