summaryrefslogtreecommitdiff
path: root/tests/internal_bench/from_iter-6-bytes_unbound.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/internal_bench/from_iter-6-bytes_unbound.py')
-rw-r--r--tests/internal_bench/from_iter-6-bytes_unbound.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/internal_bench/from_iter-6-bytes_unbound.py b/tests/internal_bench/from_iter-6-bytes_unbound.py
index 20aa55627..b85501916 100644
--- a/tests/internal_bench/from_iter-6-bytes_unbound.py
+++ b/tests/internal_bench/from_iter-6-bytes_unbound.py
@@ -1,8 +1,10 @@
import bench
+
def test(num):
- for i in iter(range(num//10000)):
+ for i in iter(range(num // 10000)):
l = [0] * 1000
l2 = bytes(map(lambda x: x, l))
+
bench.run(test)