circuitpython/tests/basics/bytes_construct_bytearray.py

4 lines
72 B
Python
Raw Normal View History

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