diff options
Diffstat (limited to 'test/test_http.py')
-rw-r--r-- | test/test_http.py | 2 |
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 |