Skip to content

Commit fb11213

Browse files
committed
Fix deprecated API for array tostring and tobytes
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
1 parent cac3707 commit fb11213

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_4_jwe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727
def intarr2bytes(arr):
28-
return array.array('B', arr).tostring()
28+
return array.array('B', arr).tobytes()
2929

3030

3131
def bytes2intarr(bts):

0 commit comments

Comments
 (0)