From 6a0fabc6472f49621260de215f128a31ae70219b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Mar 2021 17:16:11 -0500 Subject: mass rewrite of string formatting to use f-strings everywhere performed by running "pyupgrade --py36-plus" and committing the results --- test cases/python/2 extmodule/blaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test cases/python/2 extmodule') diff --git a/test cases/python/2 extmodule/blaster.py b/test cases/python/2 extmodule/blaster.py index 1f0187645..aaac9849d 100755 --- a/test cases/python/2 extmodule/blaster.py +++ b/test cases/python/2 extmodule/blaster.py @@ -8,4 +8,4 @@ if not isinstance(result, int): raise SystemExit('Returned result not an integer.') if result != 1: - raise SystemExit('Returned result {} is not 1.'.format(result)) + raise SystemExit(f'Returned result {result} is not 1.') -- cgit v1.2.3