From 78c3780d333e40c9245feb53b805f3d52feacd0f Mon Sep 17 00:00:00 2001 From: lara Date: Wed, 3 Apr 2024 14:15:33 +0200 Subject: [PATCH] fix line too long --- eessi/testsuite/tests/apps/lammps/lammps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eessi/testsuite/tests/apps/lammps/lammps.py b/eessi/testsuite/tests/apps/lammps/lammps.py index f5f3192e..048aabcd 100644 --- a/eessi/testsuite/tests/apps/lammps/lammps.py +++ b/eessi/testsuite/tests/apps/lammps/lammps.py @@ -61,7 +61,8 @@ def assert_sanity(self): @performance_function('img/s') def perf(self): - return sn.extractsingle(r'^(?P[.0-9]+)% CPU use with [0-9]+ MPI tasks x [0-9]+ OpenMP threads', self.stdout, 'perf', float) + regex = r'^(?P[.0-9]+)% CPU use with [0-9]+ MPI tasks x [0-9]+ OpenMP threads' + return sn.extractsingle(regex, self.stdout, 'perf', float) @run_after('init') def run_after_init(self):