Skip to content

Commit f73476e

Browse files
fix tests
1 parent 78d10ce commit f73476e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_crypto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def test_ec_asn1_signing_roundtrip(self):
363363
h.update(b'totally original test string')
364364
digest = h.digest()
365365

366-
ec = EC.new_key_from_der_data(base64.decodebytes(EC_PRIVATE_KEY_SEC1_BASE64))
366+
ec = EC.new_key_from_der_data(base64.decode(EC_PRIVATE_KEY_SEC1_BASE64))
367367
signature = ec.sign(digest)
368368

369369
(r, s) = EC.decode_der_signature(signature)

0 commit comments

Comments
 (0)