]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test: skip test on crdb depending on precise regtype behaviour 1299/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 28 Apr 2026 19:21:20 +0000 (21:21 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 28 Apr 2026 19:21:20 +0000 (21:21 +0200)
See https://github.com/cockroachdb/cockroach/issues/169272

tests/fix_crdb.py
tests/types/test_enum.py

index 60d721c2155a28494f34c2159d23617fa3cca04e..ab8758195712bb023b0e6431fcf6cfc30bd3a113 100644 (file)
@@ -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,
index 93e6529dbf3832d3082ad9297f7217edc89e82f8..9b537bf102f96e7b0daff74d201c7200fbb048e8 100644 (file)
@@ -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