1. idank
  2. sqlalchemy

Commits

Mike Bayer  committed dedeb10

added an order by to fix potential mysql test failure

  • Participants
  • Parent commits 736af5f
  • Branches default

Comments (0)

Files changed (1)

File test/orm/query.py

View file
  • Ignore whitespace
             (User(id=8), Address(id=3)),
             (User(id=8), Address(id=4)),
             (User(id=9), Address(id=5))
-        ] == create_session().query(User).filter(User.id.in_([8,9]))._from_self().join('addresses').add_entity(Address).all()
+        ] == create_session().query(User).filter(User.id.in_([8,9]))._from_self().join('addresses').add_entity(Address).order_by(User.id, Address.id).all()
         
 class AggregateTest(QueryTest):
     def test_sum(self):