From 5d0558abae8760ace2386786a2b4663867f59d04 Mon Sep 17 00:00:00 2001 From: Nick Crews Date: Thu, 5 Dec 2024 05:44:40 +0900 Subject: [PATCH] test: use more precise marker for backends that don't support arrays (#10552) I'm cherry-picking some of the changes that I have in https://github.com/ibis-project/ibis/pull/9473/ that are still useful without the rest of that PR. --- ibis/backends/tests/test_string.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ibis/backends/tests/test_string.py b/ibis/backends/tests/test_string.py index ff1a41ae2aff..8ff47ec1d5aa 100644 --- a/ibis/backends/tests/test_string.py +++ b/ibis/backends/tests/test_string.py @@ -827,8 +827,13 @@ def test_capitalize(con, inp, expected): assert pd.isnull(result) +@pytest.mark.notyet( + ["exasol", "impala", "mssql", "mysql", "sqlite"], + reason="Backend doesn't support arrays", + raises=(com.OperationNotDefinedError, com.UnsupportedBackendType), +) @pytest.mark.notimpl( - ["polars", "oracle", "flink", "sqlite", "mssql", "mysql", "exasol", "impala"], + ["polars", "oracle", "flink"], raises=com.OperationNotDefinedError, ) def test_array_string_join(con):