aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-05-16 19:36:36 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-17 00:07:43 +0530
commit241464919271278831f23b3a086dcf57aeb80d3b (patch)
tree8e1e0e2c2b4d632fa48d30aa84148185aa66224e /test/test_http.py
parent5d5c0f7e99d121aa0db476b1166828af552aeb14 (diff)
downloadhypervideo-pre-241464919271278831f23b3a086dcf57aeb80d3b.tar.lz
hypervideo-pre-241464919271278831f23b3a086dcf57aeb80d3b.tar.xz
hypervideo-pre-241464919271278831f23b3a086dcf57aeb80d3b.zip
[cleanup] Misc cleanup
Diffstat (limited to 'test/test_http.py')
-rw-r--r--test/test_http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_http.py b/test/test_http.py
index 664e09ace..146df7500 100644
--- a/test/test_http.py
+++ b/test/test_http.py
@@ -140,7 +140,7 @@ def _build_proxy_handler(name):
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