summaryrefslogtreecommitdiff
path: root/tests/internal_bench/loop_count-4-while_down_gt.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal_bench/loop_count-4-while_down_gt.py')
-rw-r--r--tests/internal_bench/loop_count-4-while_down_gt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/internal_bench/loop_count-4-while_down_gt.py b/tests/internal_bench/loop_count-4-while_down_gt.py
index de8dee2ca..47b004c2b 100644
--- a/tests/internal_bench/loop_count-4-while_down_gt.py
+++ b/tests/internal_bench/loop_count-4-while_down_gt.py
@@ -1,7 +1,9 @@
import bench
+
def test(num):
while num > 0:
num -= 1
+
bench.run(test)