mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Don't test date 24:00 before PG 8.4
This commit is contained in:
parent
afba29480a
commit
9f7cd6b374
|
@ -25,7 +25,7 @@
|
||||||
import math
|
import math
|
||||||
import psycopg2
|
import psycopg2
|
||||||
from psycopg2.tz import FixedOffsetTimezone, ZERO
|
from psycopg2.tz import FixedOffsetTimezone, ZERO
|
||||||
from testutils import unittest, ConnectingTestCase
|
from testutils import unittest, ConnectingTestCase, skip_before_postgres
|
||||||
|
|
||||||
class CommonDatetimeTestsMixin:
|
class CommonDatetimeTestsMixin:
|
||||||
|
|
||||||
|
@ -309,6 +309,7 @@ class DatetimeTests(ConnectingTestCase, CommonDatetimeTestsMixin):
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
self._test_type_roundtrip_array(timedelta(seconds=30))
|
self._test_type_roundtrip_array(timedelta(seconds=30))
|
||||||
|
|
||||||
|
@skip_before_postgres(8, 4)
|
||||||
def test_time_24(self):
|
def test_time_24(self):
|
||||||
from datetime import time
|
from datetime import time
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user