mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Merge branch 'fix-512'
This commit is contained in:
commit
51591e2c23
|
@ -338,6 +338,7 @@ class DatetimeTests(ConnectingTestCase, CommonDatetimeTestsMixin):
|
|||
t = self.execute("select '24:00+05:30'::timetz;")
|
||||
self.assertEqual(t, time(0, 0, tzinfo=FixedOffsetTimezone(330)))
|
||||
|
||||
@skip_before_postgres(8, 1)
|
||||
def test_large_interval(self):
|
||||
t = self.execute("select '999999:00:00'::interval")
|
||||
self.assertEqual(total_seconds(t), 999999 * 60 * 60)
|
||||
|
|
Loading…
Reference in New Issue
Block a user