Changeset 610 for trunk


Ignore:
Timestamp:
Nov 23, 2015, 10:05:51 AM (4 years ago)
Author:
cito
Message:

Set proper encoding for getline/putline tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/TEST_PyGreSQL_classic_connection.py

    r609 r610  
    700700    def setUp(self):
    701701        self.c = connect()
     702        self.c.query("set client_encoding=utf8")
     703        self.c.query("set datestyle='ISO,YMD'")
    702704        self.c.query("set lc_monetary='C'")
    703         self.c.query("set datestyle='ISO,YMD'")
    704705
    705706    def tearDown(self):
     
    822823    def setUp(self):
    823824        self.c = connect()
    824         self.c.query("set datestyle='ISO,YMD'")
     825        self.c.query("set client_encoding=utf8")
    825826
    826827    def tearDown(self):
Note: See TracChangeset for help on using the changeset viewer.