diff options
Diffstat (limited to 'lib/portage/tests/lint/test_import_modules.py')
-rw-r--r-- | lib/portage/tests/lint/test_import_modules.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/tests/lint/test_import_modules.py b/lib/portage/tests/lint/test_import_modules.py index 5522e02d1..d0465f388 100644 --- a/lib/portage/tests/lint/test_import_modules.py +++ b/lib/portage/tests/lint/test_import_modules.py @@ -23,7 +23,7 @@ class ImportModulesTestCase(TestCase): __import__(mod) except ImportError as e: if mod not in expected_failures: - self.assertTrue(False, "failed to import '%s': %s" % (mod, e)) + self.assertTrue(False, f"failed to import '{mod}': {e}") del e def _iter_modules(self, base_dir): |