Skip to content

Commit 0e0ec26

Browse files
test change
Signed-off-by: Spencer Schrock <[email protected]>
1 parent 844f0ce commit 0e0ec26

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

benchmarks/exp_hash.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ def build_parser() -> argparse.ArgumentParser:
5858
return parser
5959

6060

61-
def _human_size(size: int) -> str:
62-
if size >= GB:
63-
return str(size / GB) + " GB"
64-
elif size >= MB:
65-
return str(size / MB) + " MB"
66-
elif size >= KB:
67-
return str(size / KB) + " KB"
68-
return str(size) + " B"
69-
70-
7161
def _get_hasher(hash_algorithm: str) -> hashing.StreamingHashEngine:
7262
# TODO: Once Python 3.9 support is deprecated revert to using `match`
7363
if hash_algorithm == "sha256":

0 commit comments

Comments
 (0)