Commit dce7dd42 authored by Damien George's avatar Damien George
Browse files

tests/micropython: Add test for int.from_bytes with many zero bytes.

parent 58bb73e0
......@@ -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()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment