diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-09 00:07:19 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-09 00:07:19 +0100 |
commit | 983144404b6526c22e5c4224807ea4214e11e248 (patch) | |
tree | 9e574044f0a16eba13b20110eb73c4537a07a868 /tests/basics/bytes_construct.py | |
parent | 52b6764894755324db036731ae1d6ec77172419a (diff) | |
download | micropython-983144404b6526c22e5c4224807ea4214e11e248.tar.gz micropython-983144404b6526c22e5c4224807ea4214e11e248.zip |
tests/basic: Make various tests skippable.
Diffstat (limited to 'tests/basics/bytes_construct.py')
-rw-r--r-- | tests/basics/bytes_construct.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/basics/bytes_construct.py b/tests/basics/bytes_construct.py index 1647387675..0d638c08f2 100644 --- a/tests/basics/bytes_construct.py +++ b/tests/basics/bytes_construct.py @@ -1,16 +1,10 @@ # test construction of bytes from different objects -from array import array - # tuple, list, bytearray print(bytes((1, 2))) print(bytes([1, 2])) print(bytes(bytearray(4))) -# arrays -print(bytes(array('b', [1, 2]))) -print(bytes(array('h', [0x101, 0x202]))) - # constructor value out of range try: bytes([-1]) |