summaryrefslogtreecommitdiffstats
path: root/test/test_netrc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_netrc.py')
-rw-r--r--test/test_netrc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_netrc.py b/test/test_netrc.py
index dc708d9..1e0f4ee 100644
--- a/test/test_netrc.py
+++ b/test/test_netrc.py
@@ -21,7 +21,7 @@ class TestNetRc(unittest.TestCase):
continue
self.assertTrue(
ie._NETRC_MACHINE,
- 'Extractor %s supports login, but is missing a _NETRC_MACHINE property' % ie.IE_NAME)
+ f'Extractor {ie.IE_NAME} supports login, but is missing a _NETRC_MACHINE property')
if __name__ == '__main__':