update to py tests and scripts due to black 22.1.0

This commit is contained in:
Dan Halbert 2022-01-29 17:14:01 -05:00
parent a88969d306
commit 748834c6ba
21 changed files with 91 additions and 91 deletions

View File

@ -22,7 +22,7 @@ print(sha1.digest())
sha1 = hashlib.sha1(b"hello")
try:
sha1.update(u"world")
sha1.update("world")
except TypeError as e:
print("TypeError")
print(sha1.digest())

View File

@ -28,7 +28,7 @@ print(hashlib.sha256(b"\xff" * 56).digest())
sha256 = hashlib.sha256(b"hello")
try:
sha256.update(u"world")
sha256.update("world")
except TypeError as e:
print("TypeError")
print(sha256.digest())