summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/engines.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2020-08-16 10:48:57 +0200
committerMike Bayer <mike_mp@zzzcomputing.com>2020-12-30 15:49:09 -0500
commit2581655c545a0cf705e0347e81cd092896d3207c (patch)
tree70a9528216c3de54797b4197978c494ae819d39a /lib/sqlalchemy/testing/engines.py
parent102b91d8950926f1215dd7c59c5b7f200b5c0f8b (diff)
downloadsqlalchemy-2581655c545a0cf705e0347e81cd092896d3207c.tar.gz
Support testing of async drivers without fallback mode
Change-Id: I4940d184a4dc790782fcddfb9873af3cca844398
Diffstat (limited to 'lib/sqlalchemy/testing/engines.py')
-rw-r--r--lib/sqlalchemy/testing/engines.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py
index bb137cb32..d0a1bc0d0 100644
--- a/lib/sqlalchemy/testing/engines.py
+++ b/lib/sqlalchemy/testing/engines.py
@@ -46,7 +46,7 @@ class ConnectionKiller(object):
fn()
except Exception as e:
warnings.warn(
- "testing_reaper couldn't " "rollback/close connection: %s" % e
+ "testing_reaper couldn't rollback/close connection: %s" % e
)
def rollback_all(self):
@@ -199,9 +199,7 @@ class ReconnectFixture(object):
try:
fn()
except Exception as e:
- warnings.warn(
- "ReconnectFixture couldn't " "close connection: %s" % e
- )
+ warnings.warn("ReconnectFixture couldn't close connection: %s" % e)
def shutdown(self, stop=False):
# TODO: this doesn't cover all cases