Closed rekado closed 1 year ago
Describe the bug
The file test_cli.py uses the module md5, which has been removed from Python 3.
md5
To Reproduce Run the test suite with pytest.
pytest
Expected behavior Tests pass.
Additional context
The fix is simple:
import md5
from hashlib import md5
md5.new
digest
hexdigest
Thanks-- fortunately only in the test code rather than the main package. I've updated this script in the latest commit.
Describe the bug
The file test_cli.py uses the module
md5
, which has been removed from Python 3.To Reproduce Run the test suite with
pytest
.Expected behavior Tests pass.
Additional context
The fix is simple:
import md5
withfrom hashlib import md5
md5.new
withmd5
digest
withhexdigest