1 diff --git a/test/test.py b/test/test.py
2 index e02e259..1452fda 100644
9 -from nose import with_setup
10 from mbutil import mbtiles_to_disk, disk_to_mbtiles
13 try: shutil.rmtree('test/output')
14 except Exception: pass
17 +def with_setup(setup_func, teardown_func):
19 + def wrapped(*args, **kwargs):
21 + func(*args, **kwargs)
28 @with_setup(clear_data, clear_data)
29 def test_mbtiles_to_disk():
30 mbtiles_to_disk('test/data/one_tile.mbtiles', 'test/output')