From 366c9e27b13e976ce26ec6a97c6796eb1cdca887 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 18 Jun 2019 17:40:19 +0200 Subject: apply some flake8 hints --- src/benchmarks/larson.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/benchmarks/larson.py') diff --git a/src/benchmarks/larson.py b/src/benchmarks/larson.py index e070b7b..910fdf6 100644 --- a/src/benchmarks/larson.py +++ b/src/benchmarks/larson.py @@ -2,7 +2,7 @@ import re from src.benchmark import Benchmark -throughput_re = re.compile("^Throughput =\s*(?P\d+) operations per second.$") +throughput_re = re.compile("^Throughput =\\s*(?P\\d+) operations per second.$") class Benchmark_Larson(Benchmark): @@ -43,4 +43,5 @@ class Benchmark_Larson(Benchmark): title="'Larson cache misses: ' + arg + ' ' + str(arg_value)", filepostfix="cachemisses") + larson = Benchmark_Larson() -- cgit v1.2.3