fix: improve formatting (#1732)

This commit is contained in:
Yoshiya Hinosawa 2019-02-12 02:57:26 +09:00 committed by Ryan Dahl
parent 90c7af27d7
commit d26655371b
17 changed files with 55 additions and 30 deletions

View file

@ -383,6 +383,7 @@ def parse_wrk_output(output):
def platform():
return {"linux2": "linux", "darwin": "mac", "win32": "win"}[sys.platform]
def mkdtemp():
# On Windows, set the base directory that mkdtemp() uses explicitly. If not,
# it'll use the short (8.3) path to the temp dir, which triggers the error