From: Daniele Varrazzo Date: Tue, 28 Apr 2026 19:21:20 +0000 (+0200) Subject: test: skip test on crdb depending on precise regtype behaviour X-Git-Tag: pool-3.3.1~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ef1dc4e6d19dc4af062d45a63243cb96a261c2;p=thirdparty%2Fpsycopg.git test: skip test on crdb depending on precise regtype behaviour See https://github.com/cockroachdb/cockroach/issues/169272 --- 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