]> jfr.im git - yt-dlp.git/blobdiff - test/test_netrc.py
[test:download] Raise on network errors (#10283)
[yt-dlp.git] / test / test_netrc.py
index dc708d974cf3e743aa45280bb7d5ba944b5b466d..1e0f4ee3b27b0f89b93f9d2e07403069f6ac9f98 100644 (file)
@@ -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__':