diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-29 21:24:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-29 22:22:37 +1100 |
commit | aeea204e9802d6a175d94bdb03de428b5f1c74d1 (patch) | |
tree | 3d8dddf43d10a5b063df4f4ab934d347783f83a0 /tests/basics/bytes_construct_bytearray.py | |
parent | 6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a (diff) | |
download | micropython-aeea204e9802d6a175d94bdb03de428b5f1c74d1.tar.gz micropython-aeea204e9802d6a175d94bdb03de428b5f1c74d1.zip |
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_bytearray.py')
-rw-r--r-- | tests/basics/bytes_construct_bytearray.py | 3 |
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))) |