code: def test_conf_py_nitpick_ignore_list(tmp_path):
      """Regression test for #11355."""
      # Given a conf.py file with no language attribute
      (tmp_path / "conf.py").write_text("", encoding="utf-8")
  
      # When we load conf.py into a Config object
      cfg = Config.read(tmp_path, {}, None)
  
      # Then the default nitpick_ignore[_regex] is an empty list
      assert cfg.nitpick_ignore == []
      assert cfg.nitpick_ignore_regex == []
  
imports: import pickle
  import time
  from pathlib import Path
  from unittest import mock
  import pytest
  import sphinx
  from sphinx.builders.gettext import _gettext_compact_validator
  from sphinx.config import ENUM, Config, _Opt, check_confval_types
  from sphinx.deprecation import RemovedInSphinx90Warning
  from sphinx.errors import ConfigError, ExtensionError, VersionRequirementError
label_desc: Use image node_id 30 for calling a global function with example usage: test_conf_py_nitpick_ignore_list(tmp_path) without return types