diff options
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r-- | tests/test_plugins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py index fec92749..21aeab14 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -22,7 +22,7 @@ from tests.coveragetest import CoverageTest from tests.helpers import CheckUniqueFilenames -class FakeConfig(object): +class FakeConfig: """A fake config for use in tests.""" def __init__(self, plugin, options): @@ -644,7 +644,7 @@ class BadFileTracerTest(FileTracerTest): # Disabling plug-in '...' due to previous exception # or: # Disabling plug-in '...' due to an exception: - msg = "Disabling plug-in '%s.%s' due to " % (module_name, plugin_name) + msg = f"Disabling plug-in '{module_name}.{plugin_name}' due to " warnings = stderr.count(msg) assert warnings == 1 |