summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/bytes_construct_bytearray.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/bytes_construct_bytearray.py')
-rw-r--r--tests/basics/bytes_construct_bytearray.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/bytes_construct_bytearray.py b/tests/basics/bytes_construct_bytearray.py
new file mode 100644
index 0000000000..75f08acd3b
--- /dev/null
+++ b/tests/basics/bytes_construct_bytearray.py
@@ -0,0 +1,3 @@
+# test construction of bytes from bytearray
+
+print(bytes(bytearray(4)))