Set minimal postgres version for intervalstyle test

This commit is contained in:
Daniele Varrazzo 2018-05-20 13:40:57 +01:00
parent 3f389593f5
commit 49d9edce01

View File

@ -438,6 +438,7 @@ class DatetimeTests(ConnectingTestCase, CommonDatetimeTestsMixin):
r = cur.fetchone()[0]
self.assertEqual(r, v, "%s -> %s != %s" % (s, r, v))
@skip_before_postgres(8, 4)
def test_interval_iso_8601_not_supported(self):
# We may end up supporting, but no pressure for it
cur = self.conn.cursor()