mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 01:20:23 +08:00
3b09dca046
This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases.
5 lines
82 B
Python
5 lines
82 B
Python
try:
|
|
print((10).to_bytes(1, "big"))
|
|
except Exception as e:
|
|
print(type(e))
|