tests: Split byteorder-dependent tests to *_endian.py's.

This commit is contained in:
Paul Sokolovsky
2015-08-30 00:30:28 +03:00
parent 0a8b5d160b
commit 58d9b10d70
8 changed files with 31 additions and 6 deletions

View File

@@ -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)))