mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tests: Add a few tests for bool, bytearray, float to improve coverage.
This commit is contained in:
@@ -12,3 +12,7 @@ print(b)
|
||||
# extend
|
||||
b.extend(bytearray(4))
|
||||
print(b)
|
||||
|
||||
# this inplace add tests the code when the buffer doesn't need to be increased
|
||||
b = bytearray()
|
||||
b += b''
|
||||
|
||||
Reference in New Issue
Block a user