micropython/tests/basics/bytes_construct_bytearray.py

4 lines
72 B
Python

# test construction of bytes from bytearray
print(bytes(bytearray(4)))