From c863f9fdec32b7b2179b423c75a3a4c22cb743dc Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 5 Dec 2007 21:51:16 +0000 Subject: [PATCH] more assertion hints... --- test/orm/unitofwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3