Skip to content

Commit

Permalink
Skip test_9_6_diagnostics test for CRDB
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
arulajmani authored and dvarrazzo committed Dec 16, 2020
1 parent e85ef22 commit f469331
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def test_9_3_diagnostics(self):
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()
Expand Down

0 comments on commit f469331

Please sign in to comment.