tests/basics: Update array test for big-int with lL typecodes.

This commit is contained in:
Damien George 2017-05-09 10:46:43 +10:00
parent 6cfa61a4cc
commit 2e9e14980d

View File

@ -1,4 +1,4 @@
# test array('q') and array('Q') # test array types QqLl that require big-ints
try: try:
from array import array from array import array
@ -7,6 +7,9 @@ except ImportError:
print("SKIP") print("SKIP")
sys.exit() sys.exit()
print(array('L', [0, 2**32-1]))
print(array('l', [-2**31, 0, 2**31-1]))
print(array('q')) print(array('q'))
print(array('Q')) print(array('Q'))