1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Upgrade Python syntax with pyupgrade

This commit is contained in:
Hugo
2019-05-22 17:44:36 +03:00
parent 7670e10bc2
commit 8f4e089200
5 changed files with 8 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ def proxy_server():
target=httpd.serve_forever,
)
proxy_process.start()
yield 'http://{0}:{1}'.format(*httpd.server_address)
yield 'http://{}:{}'.format(*httpd.server_address)
proxy_process.terminate()