From: Scott Dugas Date: Thu, 23 Oct 2014 17:01:23 +0000 (-0400) Subject: Forgot to update usage of ex to exc_value X-Git-Tag: rel_1_0_0~19^2~3^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ce9333a24a1f894de4bf028f51eb1de28c10a3d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Forgot to update usage of ex to exc_value --- diff --git a/lib/sqlalchemy/testing/exclusions.py b/lib/sqlalchemy/testing/exclusions.py index 5ce8bcd84c..c9f81c8b99 100644 --- a/lib/sqlalchemy/testing/exclusions.py +++ b/lib/sqlalchemy/testing/exclusions.py @@ -132,7 +132,7 @@ class compound(object): for fail in self.fails: if fail(config): print(("%s failed as expected (%s): %s " % ( - name, fail._as_string(config), str(ex)))) + name, fail._as_string(config), str(exc_value)))) break else: raise exc_type, exc_value, exc_traceback