From: Debian Science Team Date: Thu, 2 Dec 2021 16:32:54 +0000 (+0000) Subject: Accept changed exception message X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1~1^2^2^2^2^2^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4aa179d9d21f3e43103248eb1672f74d53b9d7cf;p=pandas.git Accept changed exception message Origin: upstream 847e8ba1f89692d100a1087eec88afe36a98282b Author: Thomas Li Gbp-Pq: Name python398_compat.patch --- 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):