Commit eeff0c35 authored by Damien George's avatar Damien George
Browse files

tests/basics/bytes_add: Add tests for optimised bytes addition.

parent d279bcff
......@@ -2,3 +2,7 @@
print(b"123" + b"456")
print(b"123" + bytearray(2))
print(b"123" + b"") # RHS is empty, can be optimised
print(b"" + b"123") # LHS is empty, can be optimised
print(b"" + bytearray(1)) # LHS is empty but can't be optimised
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment