From 58d9b10d70a584ee1a958c4f85708277404cf45a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 30 Aug 2015 00:30:28 +0300 Subject: tests: Split byteorder-dependent tests to *_endian.py's. --- tests/basics/bytes_construct.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/basics/bytes_construct.py') diff --git a/tests/basics/bytes_construct.py b/tests/basics/bytes_construct.py index 0cf0540c7..e43c8179f 100644 --- a/tests/basics/bytes_construct.py +++ b/tests/basics/bytes_construct.py @@ -9,8 +9,7 @@ print(bytes(bytearray(4))) # arrays print(bytes(array('b', [1, 2]))) -print(bytes(array('h', [1, 2]))) -print(bytes(array('I', [1, 2]))) +print(bytes(array('h', [0x101, 0x202]))) # long ints print(ord(bytes([14953042807679334000 & 0xff]))) -- cgit v1.2.3