Преглед изворни кода

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