diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-03 13:35:04 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-03 13:35:04 +0200 |
| commit | 3f8bd1d8b7c539e4a8cc3d92d6a354c6a5484bc1 (patch) | |
| tree | d7c81c05fa511e0b511b89b44953848e93a311b2 | |
| parent | 1b68d9a6b39875167c495f0fecd4628ada5b4999 (diff) | |
| download | allocbench-3f8bd1d8b7c539e4a8cc3d92d6a354c6a5484bc1.tar.gz allocbench-3f8bd1d8b7c539e4a8cc3d92d6a354c6a5484bc1.zip | |
[benchmark.py] format using yapf
| -rw-r--r-- | allocbench/benchmark.py | 9 |
1 files 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: |
