Skip to content

Commit f719a00

Browse files
committed
As long as we support 2.7 we have to use tostring().
1 parent d2a655a commit f719a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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).tobytes()
28+
return array.array('B', arr).tostring()
2929

3030

3131
def bytes2intarr(bts):

0 commit comments

Comments
 (0)