summaryrefslogtreecommitdiffstats
path: root/third_party/python/pytest/bench/empty.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/pytest/bench/empty.py')
-rw-r--r--third_party/python/pytest/bench/empty.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/python/pytest/bench/empty.py b/third_party/python/pytest/bench/empty.py
new file mode 100644
index 0000000000..b90319936b
--- /dev/null
+++ b/third_party/python/pytest/bench/empty.py
@@ -0,0 +1,4 @@
+import py
+
+for i in range(1000):
+ py.builtin.exec_("def test_func_%d(): pass" % i)