From 37ef1dc4e6d19dc4af062d45a63243cb96a261c2 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 28 Apr 2026 21:21:20 +0200 Subject: [PATCH] test: skip test on crdb depending on precise regtype behaviour See https://github.com/cockroachdb/cockroach/issues/169272 --- tests/fix_crdb.py | 1 + tests/types/test_enum.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/fix_crdb.py b/tests/fix_crdb.py index 60d721c21..ab8758195 100644 --- a/tests/fix_crdb.py +++ b/tests/fix_crdb.py @@ -86,6 +86,7 @@ _crdb_reasons = { "batch statements": 44803, "begin_read_only": 87012, "binary decimal": 82492, + "broken regtype": 169272, "cancel": 41335, "cast adds tz": 51692, "cidr": 18846, diff --git a/tests/types/test_enum.py b/tests/types/test_enum.py index 93e6529db..9b537bf10 100644 --- a/tests/types/test_enum.py +++ b/tests/types/test_enum.py @@ -123,6 +123,7 @@ def test_enum_loader_nonascii(conn, encoding, fmt_in, fmt_out): assert cur.fetchone()[0] == enum[label] +@pytest.mark.crdb_skip("broken regtype") @pytest.mark.parametrize("fmt_in", PyFormat) def test_enum_quoted_name(conn, fmt_in): enum = CamelCaseEnum -- 2.47.3