tests: Disable memoryview tests that overflow int conversion.
They fail on builds with 32-bit word size.
This commit is contained in:
parent
470c429ee1
commit
9e47c145c7
|
@ -7,5 +7,7 @@ print(list(memoryview(array('b', [0x7f, -0x80]))))
|
|||
print(list(memoryview(array('B', [0x7f, 0x80, 0x81, 0xff]))))
|
||||
print(list(memoryview(array('h', [0x7f00, -0x8000]))))
|
||||
print(list(memoryview(array('H', [0x7f00, 0x8000, 0x8100, 0xffff]))))
|
||||
print(list(memoryview(array('i', [0x7f000000, -0x80000000]))))
|
||||
print(list(memoryview(array('I', [0x7f000000, 0x80000000, 0x81000000, 0xffffffff]))))
|
||||
|
||||
# these constructors give an internal overflow in uPy
|
||||
#print(list(memoryview(array('i', [0x7f000000, -0x80000000]))))
|
||||
#print(list(memoryview(array('I', [0x7f000000, 0x80000000, 0x81000000, 0xffffffff]))))
|
||||
|
|
Loading…
Reference in New Issue