Changeset 998 for trunk


Ignore:
Timestamp:
Apr 25, 2019, 1:27:51 PM (5 months ago)
Author:
cito
Message:

Fix test for database with cyrillic charset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_classic_connection.py

    r997 r998  
    20662066        try:
    20672067            query(select_money)
    2068         except pg.DataError:
     2068        except (pg.DataError, pg.ProgrammingError):
    20692069            # this can happen if the currency signs cannot be
    20702070            # converted using the encoding of the test database
     
    21182118        try:
    21192119            query(select_money)
    2120         except pg.DataError:
    2121             self.skipTest("database does not support English money")
     2120        except (pg.DataError, pg.ProgrammingError):
     2121            self.skipTest("database does not support German money")
    21222122        pg.set_decimal_point(None)
    21232123        try:
Note: See TracChangeset for help on using the changeset viewer.