From d619baf00040ceae6cc26abea8fa3b5dbaa2e981 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 22 Jul 2017 02:09:24 +0100 Subject: [PATCH] Skipped a couple of test with unsupported postgres features --- tests/test_connection.py | 1 + tests/test_types_extras.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test_connection.py b/tests/test_connection.py index 42a406ce..7818c8cd 100755 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -1520,6 +1520,7 @@ class PasswordLeakTestCase(ConnectingTestCase): class SignalTestCase(ConnectingTestCase): @slow + @skip_before_postgres(8, 2) def test_bug_551_returning(self): # Raise an exception trying to decode 'id' self._test_bug_551(query=""" diff --git a/tests/test_types_extras.py b/tests/test_types_extras.py index 9066e004..501c74f2 100755 --- a/tests/test_types_extras.py +++ b/tests/test_types_extras.py @@ -1085,6 +1085,7 @@ class JsonTestCase(ConnectingTestCase): self.assert_(s.endswith("'")) @skip_if_no_json_module + @skip_before_postgres(8, 2) def test_scs(self): cnn_on = self.connect(options="-c standard_conforming_strings=on") cur_on = cnn_on.cursor()