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))
|