mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-14 16:20:33 +03:00
Skipped a couple of test with unsupported postgres features
This commit is contained in:
parent
791f5fe969
commit
d619baf000
|
@ -1520,6 +1520,7 @@ class PasswordLeakTestCase(ConnectingTestCase):
|
||||||
|
|
||||||
class SignalTestCase(ConnectingTestCase):
|
class SignalTestCase(ConnectingTestCase):
|
||||||
@slow
|
@slow
|
||||||
|
@skip_before_postgres(8, 2)
|
||||||
def test_bug_551_returning(self):
|
def test_bug_551_returning(self):
|
||||||
# Raise an exception trying to decode 'id'
|
# Raise an exception trying to decode 'id'
|
||||||
self._test_bug_551(query="""
|
self._test_bug_551(query="""
|
||||||
|
|
|
@ -1085,6 +1085,7 @@ class JsonTestCase(ConnectingTestCase):
|
||||||
self.assert_(s.endswith("'"))
|
self.assert_(s.endswith("'"))
|
||||||
|
|
||||||
@skip_if_no_json_module
|
@skip_if_no_json_module
|
||||||
|
@skip_before_postgres(8, 2)
|
||||||
def test_scs(self):
|
def test_scs(self):
|
||||||
cnn_on = self.connect(options="-c standard_conforming_strings=on")
|
cnn_on = self.connect(options="-c standard_conforming_strings=on")
|
||||||
cur_on = cnn_on.cursor()
|
cur_on = cnn_on.cursor()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user