From 4aa179d9d21f3e43103248eb1672f74d53b9d7cf Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Thu, 2 Dec 2021 16:32:54 +0000 Subject: [PATCH] Accept changed exception message Origin: upstream 847e8ba1f89692d100a1087eec88afe36a98282b Author: Thomas Li Gbp-Pq: Name python398_compat.patch --- 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 7a076323..e8b86453 100644 --- a/pandas/tests/io/parser/test_quoting.py +++ b/pandas/tests/io/parser/test_quoting.py @@ -22,7 +22,7 @@ import pandas._testing as tm {"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): -- 2.30.2