summaryrefslogtreecommitdiff
path: root/test/engine/test_transaction.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-02-27 00:44:26 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2010-02-27 00:44:26 +0000
commit46fa536ba4c2542bcac41346bb113a08ebcf342c (patch)
tree051cca9668a5d1a65c81129399fd7faffde8d2c4 /test/engine/test_transaction.py
parent64988b45656c8fcdf384b3ad3b6303eaff521dc1 (diff)
downloadsqlalchemy-46fa536ba4c2542bcac41346bb113a08ebcf342c.tar.gz
- threadlocal engine wasn't properly closing the connection
upon close() - fixed that. - Transaction object doesn't rollback or commit if it isn't "active", allows more accurate nesting of begin/rollback/commit. - Added basic support for mxODBC [ticket:1710]. - Python unicode objects as binds result in the Unicode type, not string, thus eliminating a certain class of unicode errors on drivers that don't support unicode binds.
Diffstat (limited to 'test/engine/test_transaction.py')
-rw-r--r--test/engine/test_transaction.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/engine/test_transaction.py b/test/engine/test_transaction.py
index de2cc46d3..84ffaf455 100644
--- a/test/engine/test_transaction.py
+++ b/test/engine/test_transaction.py
@@ -830,9 +830,6 @@ class TLTransactionTest(TestBase):
tlengine.execute(users.insert(), user_id=3, user_name='user3')
tlengine.rollback()
- # TODO: removing this line, the test still tends to pass in most
- # cases, except sporadically on PG. this should be nailed down
- # in TLEngine - removing this line should be guaranteed fail.
tlengine.rollback()
tlengine.execute(users.insert(), user_id=4, user_name='user4')