From 983144404b6526c22e5c4224807ea4214e11e248 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 9 Mar 2017 00:07:19 +0100 Subject: tests/basic: Make various tests skippable. --- tests/basics/bytes_construct.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/basics/bytes_construct.py') diff --git a/tests/basics/bytes_construct.py b/tests/basics/bytes_construct.py index 164738767..0d638c08f 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]) -- cgit v1.2.3