From c5c1ba084b0b548ff8869cbc086e81608c329eb6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 28 Jul 2021 17:29:52 -0400 Subject: refactor: convert %-strings to f-strings --- coverage/plugin_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/plugin_support.py') diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py index 7accc56f..1b5ba8d7 100644 --- a/coverage/plugin_support.py +++ b/coverage/plugin_support.py @@ -45,7 +45,7 @@ class Plugins: coverage_init = getattr(mod, "coverage_init", None) if not coverage_init: raise CoverageException( - "Plugin module %r didn't define a coverage_init function" % module + f"Plugin module {module!r} didn't define a coverage_init function" ) options = config.get_plugin_options(module) -- cgit v1.2.1