code: def get_settings(**kwargs):
      """Provide tweaked setting dictionaries for testing
  
      Set keyword arguments to override specific settings.
      """
      settings = DEFAULT_CONFIG.copy()
      for key, value in kwargs.items():
          settings[key] = value
      return settings
  
imports: import locale
  import logging
  import os
  import re
  import subprocess
  import sys
  import unittest
  from contextlib import contextmanager
  from functools import wraps
  from io import StringIO
  from logging.handlers import BufferingHandler
  from shutil import rmtree
  from tempfile import mkdtemp
  from pelican.contents import Article
  from pelican.readers import default_metadata
  from pelican.settings import DEFAULT_CONFIG
label_desc: Use image node_id 9 for calling a global function with example usage: get_settings() and returns: settings