fixup: remove unneeded changes in digest.py and test_digest.py.