diff options
Diffstat (limited to 'tests/internal_bench/from_iter-8-bytearray_unbound.py')
| -rw-r--r-- | tests/internal_bench/from_iter-8-bytearray_unbound.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/internal_bench/from_iter-8-bytearray_unbound.py b/tests/internal_bench/from_iter-8-bytearray_unbound.py index e2263b8ef..aec2e65ad 100644 --- a/tests/internal_bench/from_iter-8-bytearray_unbound.py +++ b/tests/internal_bench/from_iter-8-bytearray_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 = bytearray(map(lambda x: x, l)) + bench.run(test) |
