diff options
Diffstat (limited to 'tests/plugin_tests.py')
-rw-r--r-- | tests/plugin_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py index 14d3b49c..ae8db065 100644 --- a/tests/plugin_tests.py +++ b/tests/plugin_tests.py @@ -18,8 +18,8 @@ PATH = os.path.dirname(__file__) def j(filename): return os.path.join(PATH, filename) -def create_file(size): - f = tempfile.NamedTemporaryFile(delete=False) +def create_file(size, dir=None): + f = tempfile.NamedTemporaryFile(delete=False, dir=dir) f.write(six.b("*" * size * 1024 * 1024)) f.flush() f.close() |