Skip to content

Commit a72c2b4

Browse files
committed
lint
1 parent 130a30a commit a72c2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_02_jwk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def test_key_init():
681681
# init with both matching (k as str) - should succeed
682682
secret4 = os.urandom(16)
683683
k4 = SYMKey(k=b64e(secret4).decode("utf-8"), key=secret4, alg="HS256")
684-
assert k4.k == b64e(secret4) or bytes(k4.k) == b64e(secret4)
684+
assert k4.k == b64e(secret4) or bytes(k4.k, encoding="utf-8") == b64e(secret4)
685685

686686

687687
def test_key_ops():

0 commit comments

Comments
 (0)