summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/assertsql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-09-29 17:33:53 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-09-29 17:33:53 -0400
commitb6496ba3d28d685547eac2891bfea5f4ae60e834 (patch)
tree565b0c7e318cdffc88316f517a15e4d217d66728 /lib/sqlalchemy/testing/assertsql.py
parent9a10b8a7f55d78620a77f8345e64718baec5ed91 (diff)
downloadsqlalchemy-b6496ba3d28d685547eac2891bfea5f4ae60e834.tar.gz
- A revisit to this issue first patched in 0.9.5, apparently
psycopg2's ``.closed`` accessor is not as reliable as we assumed, so we have added an explicit check for the exception messages "SSL SYSCALL error: Bad file descriptor" and "SSL SYSCALL error: EOF detected" when detecting an is-disconnect scenario. We will continue to consult psycopg2's connection.closed as a first check. fixes #3021
Diffstat (limited to 'lib/sqlalchemy/testing/assertsql.py')
0 files changed, 0 insertions, 0 deletions