Changeset 871 for trunk


Ignore:
Timestamp:
Mar 26, 2016, 1:24:09 PM (3 years ago)
Author:
cito
Message:

Set the time zone in text fixtures

Location:
trunk/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_connection.py

    r823 r871  
    911911        self.c.query('set client_encoding=utf8')
    912912        self.c.query("set datestyle='ISO,YMD'")
     913        self.c.query("set timezone='UTC'")
    913914
    914915    def tearDown(self):
  • trunk/tests/test_dbapi20.py

    r849 r871  
    568568        try:
    569569            cur = con.cursor()
     570            cur.execute("set timezone = UTC")
    570571            cur.execute("create table %s ("
    571572                "d date, t time,  ts timestamp,"
Note: See TracChangeset for help on using the changeset viewer.