Skip null array test on Postgres versions not supporting it

This commit is contained in:
Daniele Varrazzo 2015-06-14 18:43:58 +01:00
parent 499366ba2d
commit eb687103b4

View File

@ -192,6 +192,7 @@ class TypesBasicTests(ConnectingTestCase):
self.assertRaises(psycopg2.DataError, self.assertRaises(psycopg2.DataError,
psycopg2.extensions.STRINGARRAY, b(s), curs) psycopg2.extensions.STRINGARRAY, b(s), curs)
@testutils.skip_before_postgres(8, 2)
def testArrayOfNulls(self): def testArrayOfNulls(self):
curs = self.conn.cursor() curs = self.conn.cursor()
curs.execute(""" curs.execute("""