mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 18:33:44 +03:00
Merge remote-tracking branch 'jdufresne/leading0'
This commit is contained in:
commit
aae5d6364f
|
@ -1563,7 +1563,7 @@ class RangeCasterTestCase(ConnectingTestCase):
|
|||
from psycopg2.tz import FixedOffsetTimezone
|
||||
cur = self.conn.cursor()
|
||||
|
||||
d1 = date(2012, 01, 01)
|
||||
d1 = date(2012, 1, 1)
|
||||
d2 = date(2012, 12, 31)
|
||||
r = DateRange(d1, d2)
|
||||
cur.execute("select %s", (r,))
|
||||
|
|
Loading…
Reference in New Issue
Block a user