X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=tests%2Ftest_remove_old_files.py;h=645362a14dbfa2e74f870f0ef5d76c367d99e7fc;hb=2454320bc766d48f450dc888cb78eb4a8197483f;hp=dce091d7334b3fe3a0bc261faeeec4c70bfffd7a;hpb=e59993738affbb44651c0b160b6b6bd1131629e7;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')