code: def custom_dialect():
      dialect_name = "weird"
      dialect_kwargs = {
          "doublequote": False,
          "escapechar": "~",
          "delimiter": ":",
          "skipinitialspace": False,
          "quotechar": "~",
          "quoting": 3,
      }
      return dialect_name, dialect_kwargs
  
file_path: pandas/pandas/tests/io/parser/test_dialect.py
imports: import csv
  from io import StringIO
  import pytest
  from pandas.errors import ParserWarning
  from pandas import DataFrame
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: custom_dialect() and returns: dialect_name,  dialect_kwargs