From 1b94835aac3268a32bfa4ce0df585dbb97457a06 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 11 Nov 2021 07:23:36 -0500 Subject: style: convert more string formatting to f-strings --- tests/test_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_summary.py') diff --git a/tests/test_summary.py b/tests/test_summary.py index 03660542..6fbb034d 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -631,7 +631,7 @@ class SummaryTest(UsingModulesMixin, CoverageTest): if not b: c = 6 d = 7 - print("xxx: %r %r %r %r" % (a, b, c, d)) + print(f"xxx: {a} {b} {c} {d}") """) out = self.run_command("coverage run --source=. xxx") assert out == "xxx: 3 4 0 7\n" -- cgit v1.2.1