tests/micropython: Add test for int.from_bytes with many zero bytes.
This commit is contained in:
parent
58bb73e010
commit
dce7dd4259
@ -5,4 +5,5 @@ import micropython
|
||||
micropython.heap_lock()
|
||||
print(int.from_bytes(b"1", "little"))
|
||||
print(int.from_bytes(b"12", "little"))
|
||||
print(int.from_bytes(b"2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "little"))
|
||||
micropython.heap_unlock()
|
||||
|
@ -1,2 +1,3 @@
|
||||
49
|
||||
12849
|
||||
50
|
||||
|
Loading…
Reference in New Issue
Block a user