psycopg.git / summary / log / commit / refs

commit    37ef1dc4e6d19dc4af062d45a63243cb96a261c2
Author:   Daniele Varrazzo <daniele.varrazzo@gmail.com>
Date:     Tue Apr 28 19:21:20 2026 +0000

    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 60d721c2..ab875819 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 93e6529d..9b537bf1 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 [parent: 7f2f1d159df8]