From f469331af5f7b236f8037b302b69c2bf0df2a096 Mon Sep 17 00:00:00 2001 From: arulajmani Date: Wed, 16 Dec 2020 17:56:27 -0500 Subject: [PATCH] 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. --- tests/test_module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_module.py b/tests/test_module.py index 78f4e437..24b072c4 100755 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -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()