]> jfr.im git - yt-dlp.git/blobdiff - test/test_http.py
[cleanup] Misc cleanup
[yt-dlp.git] / test / test_http.py
index 664e09ace13685356bd57cb913db429eeeff32fd..146df7500cb6f1b89f31ce894f1d9540a9c40c62 100644 (file)
@@ -140,7 +140,7 @@ def do_GET(self):
             self.send_response(200)
             self.send_header('Content-Type', 'text/plain; charset=utf-8')
             self.end_headers()
-            self.wfile.write('{self.proxy_name}: {self.path}'.format(self=self).encode())
+            self.wfile.write(f'{self.proxy_name}: {self.path}'.encode())
     return HTTPTestRequestHandler