[elbe-devel] [PATCH v3 31/75] test_preproc: use f-strings
Daniel Braunwarth
daniel at braunwarth.dev
Sun Nov 6 22:12:10 CET 2022
Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
elbepack/tests/test_preproc.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elbepack/tests/test_preproc.py b/elbepack/tests/test_preproc.py
index f1695b497..684000122 100644
--- a/elbepack/tests/test_preproc.py
+++ b/elbepack/tests/test_preproc.py
@@ -29,7 +29,8 @@ class TestPreproc(ElbeTestCase):
except ElbeTestException as e:
if self.param in TestPreproc.failure_set:
self.stdout = e.out
- self.skipTest("Preproc test for %s is expected to fail" % (self.param))
+ self.skipTest(
+ f"Preproc test for {self.param} is expected to fail")
else:
raise
else:
--
2.38.1
More information about the elbe-devel
mailing list