Skip to content

Commit 2e9e149

Browse files
committed
tests/basics: Update array test for big-int with lL typecodes.
1 parent 6cfa61a commit 2e9e149

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/basics/array_intbig.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# test array('q') and array('Q')
1+
# test array types QqLl that require big-ints
22

33
try:
44
from array import array
@@ -7,6 +7,9 @@
77
print("SKIP")
88
sys.exit()
99

10+
print(array('L', [0, 2**32-1]))
11+
print(array('l', [-2**31, 0, 2**31-1]))
12+
1013
print(array('q'))
1114
print(array('Q'))
1215

0 commit comments

Comments
 (0)