From 37ba9af9cc39b346f9ac843ccdb4b85f97872aef Mon Sep 17 00:00:00 2001 From: Thomas Li <47963215+lithomas1@users.noreply.github.com> Date: Sun, 14 Nov 2021 02:48:44 -0800 Subject: [PATCH] Backport PR #44443: COMPAT: Python 3.9.8 --- pandas/tests/io/parser/test_quoting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/io/parser/test_quoting.py b/pandas/tests/io/parser/test_quoting.py index 7a07632390eff..e8b86453db9e7 100644 --- a/pandas/tests/io/parser/test_quoting.py +++ b/pandas/tests/io/parser/test_quoting.py @@ -22,7 +22,7 @@ {"quotechar": None, "quoting": csv.QUOTE_MINIMAL}, "quotechar must be set if quoting enabled", ), - ({"quotechar": 2}, '"quotechar" must be string, not int'), + ({"quotechar": 2}, '"quotechar" must be string( or None)?, not int'), ], ) def test_bad_quote_char(all_parsers, kwargs, msg):