summaryrefslogtreecommitdiff
path: root/test/engine
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-12-08 14:05:20 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-12-08 14:05:20 -0500
commitb7cf11b163dd7d15f56634a41dcceb880821ecf3 (patch)
tree2b89e02882aab3f84ab5f24143a8c5e5dcab31c3 /test/engine
parent8553c195c24f67ff5d75893ddad57d1003fb9759 (diff)
downloadsqlalchemy-b7cf11b163dd7d15f56634a41dcceb880821ecf3.tar.gz
- simplify the "noconnection" error handling, setting
_handle_dbapi_exception_noconnection() to only invoke in the case of raw_connection() in the constructor of Connection. in all other cases the Connection proceeds with _handle_dbapi_exception() including revalidate.
Diffstat (limited to 'test/engine')
-rw-r--r--test/engine/test_reconnect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py
index 0efce87ce..4500ada6a 100644
--- a/test/engine/test_reconnect.py
+++ b/test/engine/test_reconnect.py
@@ -517,7 +517,7 @@ class RealReconnectTest(fixtures.TestBase):
assert c1.invalidated
assert c1_branch.invalidated
- c1_branch._revalidate_connection(_wrap=True)
+ c1_branch._revalidate_connection()
assert not c1.invalidated
assert not c1_branch.invalidated
@@ -535,7 +535,7 @@ class RealReconnectTest(fixtures.TestBase):
assert c1.invalidated
assert c1_branch.invalidated
- c1._revalidate_connection(_wrap=True)
+ c1._revalidate_connection()
assert not c1.invalidated
assert not c1_branch.invalidated