Unverified Commit d6778aeb by Mircea Trofin Committed by GitHub

Deduplicate test function name in python bindings example (#1189)

This appears to be the source of unclean termination of the test on some versions of python related to object dereferencing.
parent 1799e1b9
...@@ -102,7 +102,7 @@ def with_options(state): ...@@ -102,7 +102,7 @@ def with_options(state):
@benchmark.register(name="sum_million_microseconds") @benchmark.register(name="sum_million_microseconds")
@benchmark.option.unit(benchmark.kMicrosecond) @benchmark.option.unit(benchmark.kMicrosecond)
def with_options(state): def with_options2(state):
while state: while state:
sum(range(1_000_000)) sum(range(1_000_000))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment