Changeset 612 for trunk


Ignore:
Timestamp:
Nov 23, 2015, 2:14:24 PM (4 years ago)
Author:
cito
Message:

Allow test database host name to be None

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/TEST_PyGreSQL_dbapi20.py

    r599 r612  
    2222    driver = pgdb
    2323    connect_args = ()
    24     connect_kw_args = {'dsn': dbhost + ':' + dbname}
     24    connect_kw_args = {'dsn': (dbhost or '') + ':' + dbname}
    2525
    2626    lower_func = 'lower'  # For stored procedure test
Note: See TracChangeset for help on using the changeset viewer.