From 3f8bd1d8b7c539e4a8cc3d92d6a354c6a5484bc1 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 3 Jun 2020 13:35:04 +0200 Subject: [benchmark.py] format using yapf --- allocbench/benchmark.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/allocbench/benchmark.py b/allocbench/benchmark.py index 1222a1e..f02acd2 100644 --- a/allocbench/benchmark.py +++ b/allocbench/benchmark.py @@ -543,9 +543,7 @@ class Benchmark: # Preallocator hook if hasattr(self, "preallocator_hook"): self.preallocator_hook( # pylint: disable=no-member - (alloc_name, alloc), - run, - os.environ) + (alloc_name, alloc), run, os.environ) # Run benchmark for alloc for perm in self.iterate_args(): @@ -634,8 +632,9 @@ class Benchmark: result, res.stderr, alloc_name, perm) if hasattr(self, "process_output"): - self.process_output(result, res.stdout, res.stderr, # pylint: disable=no-member - alloc_name, perm) + self.process_output( # pylint: disable=no-member + result, res.stdout, res.stderr, alloc_name, + perm) # save a valid result so we can expand invalid ones if valid_result is None: -- cgit v1.2.3