From a8ef77de10ebf4021372ef6e378a2dcf49b74d1a Mon Sep 17 00:00:00 2001 From: David Vierra Date: Tue, 2 Feb 2016 14:08:46 -1000 Subject: [PATCH] Fix bad parameter in bench_temp_file Need a real fix, py.path.local.mkdtemp isn't a nice as I thought --- benchmarks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py index 7082f97..65fc54e 100644 --- a/benchmarks/__init__.py +++ b/benchmarks/__init__.py @@ -28,7 +28,7 @@ atexit.register(remove_temp) def bench_temp_file(filename): global tmpdir if tmpdir is None: - tmpdir = py.path.local.mkdtemp("mcedit_bench") + tmpdir = py.path.local.mkdtemp() return copy_temp_file(tmpdir, filename)