@testing.fails_if(lambda: not testing.db.dialect.supports_sane_rowcount)
    def test_update_returns_rowcount(self):
        User = self.classes.User

        sess = Session()

        rowcount = sess.query(User).filter(
            User.age > 29).update({'age': User.age + 0})
        eq_(rowcount, 2)

        rowcount = sess.query(User).filter(
            User.age > 29).update({'age': 10 - User.age})
        eq_(rowcount, 2)
dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_update_delete.py/UpdateDeleteTest.test_update_returns_rowcount/swapped operands of `-`