summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-07-22 02:09:24 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-07-22 02:09:24 +0100
commitd619baf00040ceae6cc26abea8fa3b5dbaa2e981 (patch)
treedffc09c6206f4457b3f1d3936fea9e97765450b2 /tests
parent791f5fe96906bedd7816ff4ba7b31426a7d166b7 (diff)
downloadpsycopg2-d619baf00040ceae6cc26abea8fa3b5dbaa2e981.tar.gz
Skipped a couple of test with unsupported postgres features
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_connection.py1
-rwxr-xr-xtests/test_types_extras.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py
index 42a406c..7818c8c 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 9066e00..501c74f 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()