psycopg2/tests
James Henstridge cceaa7331b * psycopg/typecast.c (typecast_parse_time): give the correct
return value for partially parsed time values.

	* psycopg/typecast_mxdatetime.c (typecast_MXDATE_cast): return
	NULL after setting DataError.  Also, don't treat it as an error if
	typecast_parse_time() returns 0 (as might happen if the remainder
	of the string is " BC").

	* psycopg/typecast_datetime.c (typecast_PYDATE_cast): return NULL
	after setting DataError.
	(typecast_PYDATETIME_cast): same here.
	(typecast_PYTIME_cast): same here.

	* tests/test_dates.py
	(CommonDatetimeTestsMixin.test_parse_incomplete_date): test that
	parsing incomplete date values results in DataError.
	(CommonDatetimeTestsMixin.test_parse_incomplete_time): same for
	times.
	(CommonDatetimeTestsMixin.test_parse_incomplete_time): same for
	datetimes.
2008-03-17 04:06:44 +00:00
..
__init__.py * tests/test_connection.py (ConnectionTests): add simple tests for 2008-01-19 03:32:42 +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_connection.py * tests/test_connection.py (ConnectionTests): add simple tests for 2008-01-19 03:32:42 +00:00
test_dates.py * psycopg/typecast.c (typecast_parse_time): give the correct 2008-03-17 04:06:44 +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 * tests/test_connection.py (ConnectionTests): add simple tests for 2008-01-19 03:32:42 +00:00
types_basic.py Split the binary tests out a bit. 2008-01-16 18:08:12 +00:00