psycopg2/tests
James Henstridge 46bf23caf4 * tests/__init__.py (test_suite): add date tests to test suite.
* tests/test_dates.py: add tests for date/time typecasting and
	adaption.

	* psycopg/adapter_mxdatetime.c (mxdatetime_str): add support for
	outputting BC dates (which involves switching them to one-based
	dates).  Also remove broken handling of microseconds.

	* psycopg/typecast.c (typecast_parse_date): if the string ends
	with "BC" adjust the year value to be a zero-based BC value as
	used by mx.DateTime (datetime doesn't support BC dates).
	(typecast_parse_time): ignore ' ', 'B' and 'C' in time strings
	rather than treating them as part of the seconds part of the time.
2008-01-16 01:43:50 +00:00
..
__init__.py * tests/__init__.py (test_suite): add date tests to test suite. 2008-01-16 01:43:50 +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_dates.py * tests/__init__.py (test_suite): add date tests to test suite. 2008-01-16 01:43:50 +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_transaction.py 2008-01-11 15:10:21 +00:00
types_basic.py * psycopg/adapter_binary.c (binary_quote): apply Brandon Rhodes' 2008-01-10 22:19:23 +00:00