Changeset 929


Ignore:
Timestamp:
Jan 22, 2018, 4:15:34 AM (11 months ago)
Author:
cito
Message:

Fix sort order in test to make it reliable

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0.x/tests/test_dbapi20.py

    r901 r929  
    440440        con = self._connect()
    441441        cur = con.cursor()
    442         cur.execute("select 1 union select 2 union select 3")
     442        cur.execute("select 1 union select 2 union select 3 order by 1")
    443443        self.assertEqual([r[0] for r in cur], [1, 2, 3])
    444444
  • trunk/tests/test_dbapi20.py

    r901 r929  
    440440        con = self._connect()
    441441        cur = con.cursor()
    442         cur.execute("select 1 union select 2 union select 3")
     442        cur.execute("select 1 union select 2 union select 3 order by 1")
    443443        self.assertEqual([r[0] for r in cur], [1, 2, 3])
    444444
Note: See TracChangeset for help on using the changeset viewer.