Skip to content
Snippets Groups Projects
Commit eeff0c35 authored by Damien George's avatar Damien George
Browse files

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

parent d279bcff
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment