From: Mike Bayer Date: Wed, 5 Dec 2007 21:51:16 +0000 (+0000) Subject: more assertion hints... X-Git-Tag: rel_0_4_2~105 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c863f9fdec32b7b2179b423c75a3a4c22cb743dc;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git more assertion hints... --- diff --git a/test/orm/unitofwork.py b/test/orm/unitofwork.py index 11d7313775..2fa286ba86 100644 --- a/test/orm/unitofwork.py +++ b/test/orm/unitofwork.py @@ -474,7 +474,7 @@ class PKTest(ORMTest): Session.commit() assert False except exceptions.FlushError, fe: - assert str(fe) == "Can't change the identity of instance Entry@%s in session (existing identity: (%s, (5, 5), None); new identity: (%s, (5, 6), None))" % (hex(id(e)), repr(e.__class__), repr(e.__class__)) + assert str(fe) == "Can't change the identity of instance Entry@%s in session (existing identity: (%s, (5, 5), None); new identity: (%s, (5, 6), None))" % (hex(id(e)), repr(e.__class__), repr(e.__class__)), str(fe) class ForeignPKTest(ORMTest): """tests mapper detection of the relationship direction when parent/child tables are joined on their