test_ok2/bench/empty.py

4 lines
85 B
Python

import py
for i in range(1000):
py.builtin.exec_("def test_func_%d(): pass" % i)