Changeset 617


Ignore:
Timestamp:
Nov 23, 2015, 7:49:10 PM (4 years ago)
Author:
cito
Message:

Forgot to change point for German locale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/TEST_PyGreSQL_classic_connection.py

    r616 r617  
    11901190            # this can happen if the currency signs cannot be
    11911191            # converted using the encoding of the test database
    1192             self.skipTest('database does not support money')
     1192            self.skipTest("database does not support English money")
    11931193        pg.set_decimal_point(None)
    11941194        try:
     
    12321232        else:
    12331233            self.SkipTest("cannot set German money locale")
    1234         r = query(select_money)
     1234        select_money = select_money.replace('.', ',')
     1235        try:
     1236            r = query(select_money)
     1237        except pg.ProgrammingError:
     1238            self.skipTest("database does not support English money")
    12351239        pg.set_decimal_point(None)
    12361240        try:
Note: See TracChangeset for help on using the changeset viewer.