summaryrefslogtreecommitdiff
path: root/tests/basics/bytes_construct.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-29 21:24:51 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-29 22:22:37 +1100
commitaeea204e9802d6a175d94bdb03de428b5f1c74d1 (patch)
tree3d8dddf43d10a5b063df4f4ab934d347783f83a0 /tests/basics/bytes_construct.py
parent6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a (diff)
tests/basics: Split out specific bytearray tests to separate files.
So they can be automatically skipped if bytearray is not enabled.
Diffstat (limited to 'tests/basics/bytes_construct.py')
-rw-r--r--tests/basics/bytes_construct.py3
1 files changed, 1 insertions, 2 deletions
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: