Commits

Mike Bayer  committed 82c3f7c Merge

- merge

  • Participants
  • Parent commits eb07b51, a4f9187

Comments (0)

Files changed (2)

File test/dialect/test_oracle.py

         meta.drop_all()
 
     def test_fetch(self):
-        result = binary_table.select().execute().fetchall()
+        result = binary_table.select().order_by(binary_table.c.id).\
+                                    execute().fetchall()
         eq_(result, [(i, stream) for i in range(1, 11)])
 
     @testing.fails_on('+zxjdbc', 'FIXME: zxjdbc should support this')
     def test_fetch_single_arraysize(self):
-        eng = testing_engine(options={'arraysize':1})
-        result = eng.execute(binary_table.select()).fetchall()
+        eng = testing_engine(options={'arraysize': 1})
+        result = eng.execute(binary_table.select().
+                            order_by(binary_table.c.id)).fetchall()
         eq_(result, [(i, stream) for i in range(1, 11)])
 
 class UnsupportedIndexReflectTest(fixtures.TestBase):

File test/sql/test_returning.py

         result = table.insert().values(goofy="someOTHERgoofy").\
                             returning(func.lower(table.c.goofy, type_=GoofyType)).execute()
         row = result.first()
-        assert row[0] == "foosomeothergoofyBAR"
+        eq_(row[0], "foosomeothergoofyBAR")
 
         result = table.insert().values(persons=12).\
                             returning(table.c.persons + 18).execute()
         row = result.first()
-        assert row[0] == 30
+        eq_(row[0], 30)
 
     @testing.exclude('firebird', '<', (2, 1), '2.1+ feature')
     @testing.exclude('postgresql', '<', (8, 2), '8.2+ feature')