mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Skip test_9_6_diagnostics test for CRDB
Previously, the CRDB's pg server version was 9.5, which meant this test wasn't run as it is skipped for versions 9.6 and before. Now that the server version of CRDB is 13, this check no longer applies. This patch explicitly skips test_9_6_diagnostics for CRDB. The reason for this is the same as test_9_3_diagnostics, which is currently skipped for CRDB.
This commit is contained in:
parent
e85ef2298b
commit
f469331af5
|
@ -280,6 +280,7 @@ class ExceptionsTestCase(ConnectingTestCase):
|
|||
self.assertEqual(e.diag.constraint_name, "chk_eq1")
|
||||
self.assertEqual(e.diag.datatype_name, None)
|
||||
|
||||
@skip_if_crdb("diagnostic")
|
||||
@skip_before_postgres(9, 6)
|
||||
def test_9_6_diagnostics(self):
|
||||
cur = self.conn.cursor()
|
||||
|
|
Loading…
Reference in New Issue
Block a user