diff options
author | Mircea Trofin <mtrofin@google.com> | 2021-06-28 02:28:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 10:28:04 +0100 |
commit | d6778aebbeb5c205723aa08775ce1026bfaec1b5 (patch) | |
tree | c7b1fe7d1fbb1b68df65ea55d6b10e2a960326e7 /bindings/python/google_benchmark/example.py | |
parent | 1799e1b9ec02a111c9a1ce79b10c9233dd60db75 (diff) | |
download | google-benchmark-d6778aebbeb5c205723aa08775ce1026bfaec1b5.tar.gz google-benchmark-d6778aebbeb5c205723aa08775ce1026bfaec1b5.zip |
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.
Diffstat (limited to 'bindings/python/google_benchmark/example.py')
-rw-r--r-- | bindings/python/google_benchmark/example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/google_benchmark/example.py b/bindings/python/google_benchmark/example.py index 9134e8c..487acc9 100644 --- a/bindings/python/google_benchmark/example.py +++ b/bindings/python/google_benchmark/example.py @@ -102,7 +102,7 @@ def with_options(state): @benchmark.register(name="sum_million_microseconds") @benchmark.option.unit(benchmark.kMicrosecond) -def with_options(state): +def with_options2(state): while state: sum(range(1_000_000)) |