diff options
author | ndparker <ndparker@users.noreply.github.com> | 2014-10-02 22:00:31 +0200 |
---|---|---|
committer | ndparker <ndparker@users.noreply.github.com> | 2014-10-02 22:00:31 +0200 |
commit | 690532131d8ce8250c62f1d3e27405902df03e70 (patch) | |
tree | 69ef40646aa14519b539ae9d09a16229b7b3e20a /lib/sqlalchemy/testing/engines.py | |
parent | ce52dd9e3b71f2074d7821fe62803d4e0eefe512 (diff) | |
download | sqlalchemy-pr/140.tar.gz |
cleanup exception handling - use new exception hierarchy (since python 2.5)pr/140
Diffstat (limited to 'lib/sqlalchemy/testing/engines.py')
-rw-r--r-- | lib/sqlalchemy/testing/engines.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py index 67c13231e..1284f9c2a 100644 --- a/lib/sqlalchemy/testing/engines.py +++ b/lib/sqlalchemy/testing/engines.py @@ -37,8 +37,6 @@ class ConnectionKiller(object): def _safe(self, fn): try: fn() - except (SystemExit, KeyboardInterrupt): - raise except Exception as e: warnings.warn( "testing_reaper couldn't " @@ -168,8 +166,6 @@ class ReconnectFixture(object): def _safe(self, fn): try: fn() - except (SystemExit, KeyboardInterrupt): - raise except Exception as e: warnings.warn( "ReconnectFixture couldn't " |