psycopg2/tests
Rafi Shamim a61f30b2d2 Handle failure in setup of IsolationLevelsTestCase
If the CREATE TABLE statement fails, the setup would fail
without committing or rolling back the active transaction, so the
transaction would hold onto its resources indefinitely.

Normally, the transaction would be closed when the connection is closed
in the `tearDown` function. However, `tearDown` is not called if there
was an error during `setUp` ([as specified by the `unittest` docs](https://docs.python.org/3/library/unittest.html#unittest.TestCase.tearDown)), so
we need to handle this case specially.
2020-07-07 18:48:44 -04:00
..
__init__.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py Use PY2, PY3 for conditional code instead of sys.version_info 2019-03-16 19:54:40 +00:00
test_async_keyword.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_async.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_bug_gc.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_bugX000.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_cancel.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_connection.py Handle failure in setup of IsolationLevelsTestCase 2020-07-07 18:48:44 -04:00
test_copy.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_cursor.py Column objects can be sliced 2020-03-11 10:50:56 +13:00
test_dates.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_errcodes.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_errors.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_extras_dictcursor.py Fixed copy() on DictRow 2020-04-06 14:10:02 +12:00
test_fast_executemany.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_green.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_ipaddress.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_lobject.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_module.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_notify.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_psycopg2_dbapi20.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_quote.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_replication.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_sql.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_transaction.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_types_basic.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_types_extras.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
test_with.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00
testconfig.py Test moved to the right module, cleanup, but same problem 2016-07-01 18:01:16 +01:00
testutils.py Copyright bumped to 2020 2020-01-17 21:21:11 +00:00