tests: Split byteorder-dependent tests to *_endian.py's.
This commit is contained in:
@@ -7,7 +7,7 @@ print(array('b', (1, 2)))
|
||||
print(array('h', [1, 2]))
|
||||
|
||||
# raw copy from bytes, bytearray
|
||||
print(array('h', b'12'))
|
||||
print(array('h', b'22')) # should be byteorder-neutral
|
||||
print(array('h', bytearray(2)))
|
||||
print(array('i', bytearray(4)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user