diff --git a/tests/helpers.py b/tests/helpers.py index 591a282..ae5624b 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -102,18 +102,6 @@ def create_rnd_file(path, filename, content=None): return write_to_file(fpath, content) -def remove(path): - '''Delete file or directory.''' - if not os.path.exists(path): - return - if os.path.islink(path): - os.remove(path) - elif os.path.isdir(path): - shutil.rmtree(path) - else: - os.remove(path) - - def write_to_file(path, content): with open(path, 'w') as f: f.write(content)