def setup(self):
        metadata.create_all()
        t.insert().execute([dict(('field%d' % fnum, u('value%d' % fnum))
                                 for fnum in range(NUM_FIELDS)) for r_num in
                            range(NUM_RECORDS)])
        t2.insert().execute([dict(('field%d' % fnum, u('value%d' % fnum))
                                  for fnum in range(NUM_FIELDS)) for r_num in
                             range(NUM_RECORDS)])

        # warm up type caches
        t.select().execute().fetchall()
        t2.select().execute().fetchall()
dataset/ETHPy150Open zzzeek/sqlalchemy/test/aaa_profiling/test_resultset.py/ResultSetTest.setup/original