X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=tests%2Ftest_remove_old_files.py;h=645362a14dbfa2e74f870f0ef5d76c367d99e7fc;hb=97bd9e39b6679afc84a5ab5fc301be50f9fe118f;hp=dce091d7334b3fe3a0bc261faeeec4c70bfffd7a;hpb=96bc9c67fc993dc918ea80c208096b9523a68f6f;p=ppu.git diff --git a/tests/test_remove_old_files.py b/tests/test_remove_old_files.py index dce091d..645362a 100755 --- a/tests/test_remove_old_files.py +++ b/tests/test_remove_old_files.py @@ -37,6 +37,11 @@ def test_recursive(): def test_remove_empty_directory(): + teardown() + try: + setup() + except OSError: + pass create_files(['test3', 'test4'], 'subdir') test3 = os.path.join('subdir', 'test3') test4 = os.path.join('subdir', 'test4')