summaryrefslogtreecommitdiff
path: root/test/engine/test_parseconnect.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-12-05 19:08:47 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-12-05 19:08:47 -0500
commitb8114a357684ab3232ff90ceb0da16dad080d1ac (patch)
tree2627f21b518299d5874eee890e7302a11e0903e4 /test/engine/test_parseconnect.py
parent0639c199a547343d62134d2f233225fd2862ec45 (diff)
downloadsqlalchemy-b8114a357684ab3232ff90ceb0da16dad080d1ac.tar.gz
- adjust _revalidate_connection() again such that we pass a _wrap=False
to it, so that we say we will do the wrapping just once right here in _execute_context() / _execute_default(). An adjustment is made to _handle_dbapi_error() to not assume self.__connection in case we are already in an invalidated state further adjustment to 0639c199a547343d62134d2f233225fd2862ec45, 41e7253dee168b8c26c49, #3266
Diffstat (limited to 'test/engine/test_parseconnect.py')
-rw-r--r--test/engine/test_parseconnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/engine/test_parseconnect.py b/test/engine/test_parseconnect.py
index b6d08ceba..4a3da7d1c 100644
--- a/test/engine/test_parseconnect.py
+++ b/test/engine/test_parseconnect.py
@@ -307,7 +307,7 @@ class CreateEngineTest(fixtures.TestBase):
assert_raises(
MySpecialException,
- conn._revalidate_connection
+ getattr, conn, 'connection'
)
@testing.requires.sqlite