Am 18.11.2015 um 19:23 schrieb D'Arcy J.M. Cain:
You don't need to test this way. The variables dbhost and dbport always
exist. If LOCAL_PyGreSQL.py exists it may change them but they exist
and are set to the defaults if not.
But you can also set them to None to have the tests use the defaults
baked in PyGreSQL, like here:
if ((!pghost) && (pg_default_host != Py_None))
pghost = PyString_AsString(pg_default_host);
-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql