Commits

Mike Bayer  committed 3a99a7b

test fix, seems like we're going to have a little more unicode strings in here...

  • Participants
  • Parent commits 98c8f22

Comments (0)

Files changed (1)

File test/ext/declarative/test_basic.py

         # case
 
         sa.orm.configure_mappers()
-        eq_(str(list(Address.user_id.property.columns[0].foreign_keys)[0]),
-            "ForeignKey('users.id')")
+        eq_(
+            list(Address.user_id.property.columns[0].foreign_keys)[0].column,
+            User.__table__.c.id
+        )
         Base.metadata.create_all()
         u1 = User(name='u1', addresses=[Address(email='one'),
                   Address(email='two')])