PythonExtra/tests/basics/bytes_add_bytearray.py
Damien George aeea204e98 tests/basics: Split out specific bytearray tests to separate files.
So they can be automatically skipped if bytearray is not enabled.
2019-10-29 22:22:37 +11: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