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
Paul Sokolovsky
983144404b
tests/basic: Make various tests skippable.
2017-03-09 00:07:19 +01:00
Paul Sokolovsky
b652ee705b
tests/bytes_compare: Rework test for bytes <-> str comparison.
...
This may produce a warning, depending on MicroPython configuration.
2016-07-22 12:02:04 +03:00
Damien George
a65c03c6c0
py: Allow +, in, and compare ops between bytes and bytearray/array.
...
Eg b"123" + bytearray(2) now works. This patch actually decreases code
size while adding functionality: 32-bit unix down by 128 bytes, stmhal
down by 84 bytes.
2014-11-05 16:30:34 +00:00
Paul Sokolovsky
70328e419a
py: Implement more complete bytes comparison handling.
2014-05-15 20:58:40 +03:00