Skip to content

Commit de4d73b

Browse files
dlatypovshuahkh
authored andcommitted
kunit: fix missing f in f-string in run_checks.py
We're missing the `f` prefix to have python do string interpolation, so we'd never end up printing what the actual "unexpected" error is. Fixes: ee92ed3 ("kunit: add run_checks.py script to validate kunit changes") Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
1 parent 2355280 commit de4d73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/kunit/run_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def main(argv: Sequence[str]) -> None:
6161
elif isinstance(ex, subprocess.CalledProcessError):
6262
print(f'{name}: FAILED')
6363
else:
64-
print('{name}: unexpected exception: {ex}')
64+
print(f'{name}: unexpected exception: {ex}')
6565
continue
6666

6767
output = ex.output

0 commit comments

Comments
 (0)