From f2896fe51289e4e73e296ab137713e586a4f8610 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 b693fcde..498d09a6 100755 --- a/tests/test_dates.py +++ b/tests/test_dates.py @@ -437,6 +437,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()