From aeea204e9802d6a175d94bdb03de428b5f1c74d1 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 29 Oct 2019 21:24:51 +1100 Subject: tests/basics: Split out specific bytearray tests to separate files. So they can be automatically skipped if bytearray is not enabled. --- 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 0d638c08f..6f83f1cb2 100644 --- a/tests/basics/bytes_construct.py +++ b/tests/basics/bytes_construct.py @@ -1,9 +1,8 @@ # test construction of bytes from different objects -# tuple, list, bytearray +# tuple, list print(bytes((1, 2))) print(bytes([1, 2])) -print(bytes(bytearray(4))) # constructor value out of range try: -- cgit v1.2.3