From e54b306e3f6faacd16d91851c0718b3079c82912 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 16 Dec 2024 13:27:09 -0500 Subject: [PATCH] test(bigquery): fix array concat test (#10584) Fixes the upstream failing test cases for bigquery. --- ibis/backends/tests/test_array.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ibis/backends/tests/test_array.py b/ibis/backends/tests/test_array.py index 4495f9628be7..cef10bed034f 100644 --- a/ibis/backends/tests/test_array.py +++ b/ibis/backends/tests/test_array.py @@ -192,7 +192,13 @@ def test_array_concat_scalar(con, op): reason="doesn't support nullable arrays", ) @pytest.mark.notyet( - ["bigquery"], raises=AssertionError, reason="bigquery treats null arrays as empty" + ["bigquery"], + raises=ValueError, + reason=( + "bigquery treats null arrays as empty " + "and a ValueError is raised from `pd.isna` " + "when the value is not a truthy value" + ), ) def test_array_concat_with_null(con, op): non_null_value = ibis.array([2**31 - 1])