Skip to content

Commit 2c4484e

Browse files
authored
Minor style fix in sanity.py
1 parent f9534d9 commit 2c4484e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reframe/utility/sanity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,16 +487,16 @@ def assert_reference(val, ref, lower_thres=None, upper_thres=None, msg=None):
487487
try:
488488
evaluate(assert_bounded(lower_thres, lower_thres_limit, 0))
489489
except SanityError:
490-
raise SanityError('invalid low threshold value: %s'
491-
% lower_thres) from None
490+
raise SanityError('invalid low threshold value: %s' %
491+
lower_thres) from None
492492

493493
if upper_thres is not None:
494494
upper_thres_limit = None if ref >= 0 else 1
495495
try:
496496
evaluate(assert_bounded(upper_thres, 0, upper_thres_limit))
497497
except SanityError:
498-
raise SanityError('invalid high threshold value: %s'
499-
% upper_thres) from None
498+
raise SanityError('invalid high threshold value: %s' %
499+
upper_thres) from None
500500

501501
def calc_bound(thres):
502502
if thres is None:

0 commit comments

Comments
 (0)