On Wed, 18 Nov 2015 19:24:15 +0100
Christoph Zwerschke <[email protected]> wrote:
> The other errors are probably caused by running against the Python
> code from the 4.x branch, but C code from trunk.

Right.  I forgot to run the install.  Now I am down to just one error
in that test.

======================================================================
ERROR: testQueryWithUnicodeParams (__main__.TestParamQueries)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./TEST_PyGreSQL_classic_connection.py", line 550, in
testQueryWithUnicod eParams
    ('Hello', u'w\xf6rld')).getresult(), [('Hello, w\xc3\xb6rld!',)])
UnicodeError: query parameter could not be decoded (bad client encoding)

> Also, maybe the TEST_... modules should be moved to a subdirectory 
> "tests" one level higher. Then the running tests won't pick up the
> pg.py and pgdb.py modules from the same directory and run only when
> these modules are properly installed. This could prevent problems
> like the one you noticed.

Perhaps.  I do sometimes add debug statements to the Python code and it
would be nice if I didn't have to install every time I tried
something.  Of course I still have to install if I add debug lines to
the C code.

-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:[email protected]
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to