summaryrefslogtreecommitdiff
path: root/tests/basics/int_bytes_notimpl.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-21 20:15:31 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-21 20:15:31 +0300
commit3b09dca046634e5ff6cdf97a77bbeab922f7ba2d (patch)
tree0bf7e6d6ba6947e17400a6c53747664bbe82d98c /tests/basics/int_bytes_notimpl.py
parente6ab43e2c0106bd49423ded5f9a96d63acf813c2 (diff)
tests: Add test for int.from_bytes() for arbitrary-precision integer.
This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases.
Diffstat (limited to 'tests/basics/int_bytes_notimpl.py')
-rw-r--r--tests/basics/int_bytes_notimpl.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/basics/int_bytes_notimpl.py b/tests/basics/int_bytes_notimpl.py
index b47d6ab58..b149f4496 100644
--- a/tests/basics/int_bytes_notimpl.py
+++ b/tests/basics/int_bytes_notimpl.py
@@ -2,8 +2,3 @@ try:
print((10).to_bytes(1, "big"))
except Exception as e:
print(type(e))
-
-try:
- print(int.from_bytes(b"\0", "big"))
-except Exception as e:
- print(type(e))