소스 검색

removed erroneous test from init

bigtedde 1 년 전
부모
커밋
efc4481996
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      src/borg/testsuite/archiver/__init__.py

+ 0 - 7
src/borg/testsuite/archiver/__init__.py

@@ -422,13 +422,6 @@ def _assert_dirs_equal_cmp(diff, ignore_flags=False, ignore_xattrs=False, ignore
         _assert_dirs_equal_cmp(sub_diff, ignore_flags=ignore_flags, ignore_xattrs=ignore_xattrs, ignore_ns=ignore_ns)
 
 
-@contextmanager
-def test_extract_file(path):
-    assert not os.path.exists(path), f"{path} should not exist"
-    yield
-    assert os.path.exists(path), f"{path} should exist"
-
-
 @contextmanager
 def read_only(path):
     """Some paths need to be made read-only for testing