code: def test_bad_quoting(all_parsers, quoting, msg):
      data = "1,2,3"
      parser = all_parsers
  
      with pytest.raises(TypeError, match=msg):
          parser.read_csv(StringIO(data), quoting=quoting)
  
file_path: pandas/pandas/tests/io/parser/test_quoting.py
imports: import csv
  from io import StringIO
  import pytest
  from pandas.compat import PY311
  from pandas.errors import ParserError
  from pandas import DataFrame
  import pandas._testing
label_desc: Use image node_id 2 for calling a global function with example usage: test_bad_quoting(all_parsers, quoting, msg) without return types