Accept changed exception message
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)
committerJochen Sprickerhof <jspricke@debian.org>
Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)
Origin: upstream 847e8ba1f89692d100a1087eec88afe36a98282b
Author: Thomas Li

Gbp-Pq: Name python398_compat.patch

pandas/tests/io/parser/test_quoting.py

index 7a07632390eff42f43f444e8f0ebf05fb4035372..e8b86453db9e7109c8e5ecbf0674ed7310d12fb9 100644 (file)
@@ -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):