psycopg2/tests
James Henstridge 86597f6939 * psycopg/adapter_binary.c (binary_quote): apply Brandon Rhodes'
patch from ticket #209 to check return value from
	PyObject_AsCharBuffer().  This fixes the segfault.
	(binary_quote): switch from PyObject_AsCharBuffer() to
	PyObject_AsReadBuffer() to support buffer objects that don't
	implement the bf_getcharbuf protocol.

	* tests/types_basic.py (TypesBasicTests.testBinary): Test round
	tripping of bytea buffers.  Currently segfaults.
2008-01-10 22:19:23 +00:00
..
__init__.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
bugX000.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
dbapi20.py Added DBAPI 2.0 conformance tests in tests/. 2006-02-11 06:55:17 +00:00
extras_dictcursor.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_psycopg2_dbapi20.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_quote.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
test_transaction.py Added 'make check' target, running all the available tests. 2007-11-11 10:40:12 +00:00
types_basic.py * psycopg/adapter_binary.c (binary_quote): apply Brandon Rhodes' 2008-01-10 22:19:23 +00:00