Changeset 761


Ignore:
Timestamp:
Jan 17, 2016, 11:19:32 AM (4 years ago)
Author:
cito
Message:

Avoid warning in tests with old PostgreSQL version

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.x/tests/test_dbapi20.py

    r690 r761  
    5151                db = pg.DB('postgres', dbhost or None, dbport or -1)
    5252            db.query('create database ' + dbname)
    53 
    5453
    5554    def tearDown(self):
     
    101100                "intervaltest interval,"
    102101                "rowidtest oid)" % table)
     102            cur.execute("set standard_conforming_strings to on")
    103103            for s in ('numeric', 'monetary', 'time'):
    104104                cur.execute("set lc_%s to 'C'" % s)
  • trunk/tests/test_dbapi20.py

    r692 r761  
    298298                "intervaltest interval,"
    299299                "rowidtest oid)" % table)
     300            cur.execute("set standard_conforming_strings to on")
    300301            for s in ('numeric', 'monetary', 'time'):
    301302                cur.execute("set lc_%s to 'C'" % s)
Note: See TracChangeset for help on using the changeset viewer.