From 6e2693c8e54b1168f4d2223a5f1482a4f85baeaa Mon Sep 17 00:00:00 2001 From: crivella Date: Fri, 4 Oct 2024 13:53:41 +0200 Subject: [PATCH] lint --- easybuild/easyblocks/l/llvm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easybuild/easyblocks/l/llvm.py b/easybuild/easyblocks/l/llvm.py index ebdcdaa32a..075fcb3aac 100644 --- a/easybuild/easyblocks/l/llvm.py +++ b/easybuild/easyblocks/l/llvm.py @@ -479,7 +479,8 @@ def configure_step(self): if not self.cfg['skip_all_tests']: raise EasyBuildError("Can't find `lit`, needed for running tests-suite") - if not self.cfg['skip_all_tests'] and (self.cfg['test_suite_timeout_single'] or self.cfg['test_suite_timeout_total']): + timeouts = self.cfg['test_suite_timeout_single'] or self.cfg['test_suite_timeout_total'] + if not self.cfg['skip_all_tests'] and timeouts: psutil_root = get_software_root('psutil') if not psutil_root: raise EasyBuildError("Can't find `psutil`, needed for running tests-suite with timeout")