lv_micropython/tests/basics/bytes_add_bytearray.py
2019-11-02 01:09:15 +02:00

6 lines
120 B
Python

# test bytes + bytearray
print(b"123" + bytearray(2))
print(b"" + bytearray(1)) # LHS is empty but can't be optimised