diff options
author | Federico Caselli <cfederico87@gmail.com> | 2020-08-16 10:48:57 +0200 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-12-30 15:49:09 -0500 |
commit | 2581655c545a0cf705e0347e81cd092896d3207c (patch) | |
tree | 70a9528216c3de54797b4197978c494ae819d39a /lib/sqlalchemy/testing/engines.py | |
parent | 102b91d8950926f1215dd7c59c5b7f200b5c0f8b (diff) | |
download | sqlalchemy-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.py | 6 |
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 |