'Is a commit called in the context manager?'

def CheckContextManagerCommit(self):

    with self.con:
        self.con.execute("insert    into    test(c)    values    ('foo')")
    self.con.rollback()
    count = self.con.execute('select    count(*)    from    test').fetchone()[0]
    self.assertEqual(count, 1)
