From 298572d0b3f46a7fe0018b1e5536e163f3cf91b3 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Thu, 24 Mar 2022 18:18:42 -0700 Subject: [PATCH] Fix error message. --- python/cudf/cudf/tests/test_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cudf/cudf/tests/test_list.py b/python/cudf/cudf/tests/test_list.py index fc9ad9711d1..8cc65de739e 100644 --- a/python/cudf/cudf/tests/test_list.py +++ b/python/cudf/cudf/tests/test_list.py @@ -381,7 +381,7 @@ def test_concatenate_rows_of_lists(): def test_concatenate_list_with_nonlist(): - with pytest.raises(TypeError, match="can only concatenate list to list"): + with pytest.raises(TypeError): gdf1 = cudf.DataFrame({"A": [["a", "c"], ["b", "d"], ["c", "d"]]}) gdf2 = cudf.DataFrame({"A": ["a", "b", "c"]}) gdf1["A"] + gdf2["A"]