Skip to content

Commit

Permalink
Update test_hasher.py
Browse files Browse the repository at this point in the history
print note of test not run
  • Loading branch information
egrace479 authored Jul 26, 2024
1 parent 16ff577 commit 5d7818b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_hasher.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ def _test_checksum_file_with_algorithm(self, algorithm="md5", length=None):
def test_algorithms_coverage(self):
algorithms_available = hashlib.algorithms_available
algorithms_covered = set(self.checksums.keys())

if "ripemd160" not in algorithms_available:
print("ripemd160 test could not be run on this system")

# Check that all available algorithms are covered
missing_algorithms = algorithms_available - algorithms_covered
Expand Down

0 comments on commit 5d7818b

Please sign in to comment.