psycopg2/tests
Daniele Varrazzo 73a680f45d Convert int subclasses to long before adapting
Fixes adaptation of int/long subclasses whose str() is not the number,
such IntEnum

Close #591

Note that I thought it would have needed a new adapter, so I considered
it a new feature. But it is more a shortcoming of the int adapter
failing to do something reasonable (poor Liskov, always mistreated) so I
may actually backport it if there is a new 2.7 release.
2018-11-16 18:16:03 +00:00
..
__init__.py Read exceptions to raise from a Python module 2018-08-17 02:00:01 +01:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_async_keyword.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_async.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_bug_gc.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_bugX000.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_cancel.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_connection.py Merge branch 'master' into feature-expose-pgconn 2018-11-07 14:15:29 +01:00
test_copy.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_cursor.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_dates.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_errcodes.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_errors.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_extras_dictcursor.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_fast_executemany.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_green.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_ipaddress.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_lobject.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_module.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_notify.py Use the connection.info properties instead of the legacy methods 2018-10-13 03:28:42 +01:00
test_psycopg2_dbapi20.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_quote.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_replication.py Use relative imports throughout tests 2017-12-10 10:51:07 -08:00
test_sql.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_transaction.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
test_types_basic.py Convert int subclasses to long before adapting 2018-11-16 18:16:03 +00:00
test_types_extras.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00
test_with.py Full flake8 3.5 cleanup 2018-10-23 00:39:14 +01:00
testconfig.py Test moved to the right module, cleanup, but same problem 2016-07-01 18:01:16 +01:00
testutils.py Use class decorators to decorate all tests 2018-10-30 00:23:56 +00:00