summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-20 13:40:57 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-20 13:42:30 +0100
commitf2896fe51289e4e73e296ab137713e586a4f8610 (patch)
tree57ecbe6a2510dd95c0a50a383dc2a0db04d5f3f2
parent51027dbd5f30c855d77a44841cf6afaa07af7857 (diff)
downloadpsycopg2-fix-707-27.tar.gz
Set minimal postgres version for intervalstyle testfix-707-27
-rwxr-xr-xtests/test_dates.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_dates.py b/tests/test_dates.py
index b693fcd..498d09a 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()