Don't test date 24:00 before PG 8.4

This commit is contained in:
Daniele Varrazzo 2015-02-08 10:30:48 +00:00
parent afba29480a
commit 9f7cd6b374

View File

@ -25,7 +25,7 @@
import math
import psycopg2
from psycopg2.tz import FixedOffsetTimezone, ZERO
from testutils import unittest, ConnectingTestCase
from testutils import unittest, ConnectingTestCase, skip_before_postgres
class CommonDatetimeTestsMixin:
@ -309,6 +309,7 @@ class DatetimeTests(ConnectingTestCase, CommonDatetimeTestsMixin):
from datetime import timedelta
self._test_type_roundtrip_array(timedelta(seconds=30))
@skip_before_postgres(8, 4)
def test_time_24(self):
from datetime import time