tests/basics: Split out specific bytearray tests to separate files.

So they can be automatically skipped if bytearray is not enabled.
This commit is contained in:
Damien George
2019-10-29 21:24:51 +11:00
parent 6e9ba1cf4b
commit aeea204e98
8 changed files with 32 additions and 22 deletions

View File

@@ -1,8 +1,6 @@
# test bytes + other
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