X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/54007a45f11ed730352324289b714baefd2901eb..61edf57f8f13f6dfd81154174e647eb5fdd26089:/test/test_netrc.py diff --git a/test/test_netrc.py b/test/test_netrc.py index dc708d974..1e0f4ee3b 100644 --- a/test/test_netrc.py +++ b/test/test_netrc.py @@ -21,7 +21,7 @@ def test_netrc_present(self): 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__':