Formatting.

This commit is contained in:
John Chilton
2023-05-17 12:57:20 -04:00
parent 9efa473f28
commit 4b465659fe
2 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
"""
"""
import os
import logging
import os
import time
from typing import (
List,
+2 -10
View File
@@ -1071,18 +1071,10 @@ def test_check_cache_sanity(tmp_path):
cache_dir = tmp_path
path = cache_dir / "a_file_0"
path.write_text("this is an example file")
big_cache_target = CacheTarget(
cache_dir,
1,
.2
)
big_cache_target = CacheTarget(cache_dir, 1, 0.2)
check_cache(big_cache_target)
assert path.exists()
small_cache_target = CacheTarget(
cache_dir,
1,
.000000001
)
small_cache_target = CacheTarget(cache_dir, 1, 0.000000001)
check_cache(small_cache_target)
assert not path.exists()