diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-08-30 00:30:28 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-08-30 00:38:00 +0300 |
commit | 58d9b10d70a584ee1a958c4f85708277404cf45a (patch) | |
tree | f9db1140e05e4f2355bd20967bbc702ffa73de93 /tests/basics/bytes_construct.py | |
parent | 0a8b5d160bf9297dcb39af5657f61141038a0855 (diff) | |
download | micropython-58d9b10d70a584ee1a958c4f85708277404cf45a.tar.gz micropython-58d9b10d70a584ee1a958c4f85708277404cf45a.zip |
tests: Split byteorder-dependent tests to *_endian.py's.
Diffstat (limited to 'tests/basics/bytes_construct.py')
-rw-r--r-- | tests/basics/bytes_construct.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/basics/bytes_construct.py b/tests/basics/bytes_construct.py index 0cf0540c7a..e43c8179fc 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]))) |