From 49d9edce01c64dadba4fcdcd8ddeb563cd2cff63 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 20 May 2018 13:40:57 +0100 Subject: [PATCH] Set minimal postgres version for intervalstyle test --- tests/test_dates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_dates.py b/tests/test_dates.py index 85216f87..bb5aee30 100755 --- a/tests/test_dates.py +++ b/tests/test_dates.py @@ -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()