Merge branch 'main' into 15397-remove-obsolete-apis
[arvados.git] / sdk / python / tests / arvados_testutil.py
index 01527790a86fb9be72fe0c6d8acc9921133cbc14..e6a334c611d6f2573f195ec799c02c8bec6157dc 100644 (file)
@@ -251,14 +251,6 @@ def binary_compare(a, b):
             return False
     return True
 
-def make_block_cache(disk_cache):
-    if disk_cache:
-        disk_cache_dir = os.path.join(os.path.expanduser("~"), ".cache", "arvados", "keep")
-        shutil.rmtree(disk_cache_dir, ignore_errors=True)
-    block_cache = arvados.keep.KeepBlockCache(disk_cache=disk_cache)
-    return block_cache
-
-
 class DiskCacheBase:
     def make_block_cache(self, disk_cache):
         self.disk_cache_dir = tempfile.mkdtemp() if disk_cache else None