circuitpython/tests/basics/bytes_add_bytearray.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
120 B
Python
Raw Normal View History

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