From 3b09dca046634e5ff6cdf97a77bbeab922f7ba2d Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 21 Jan 2017 20:15:31 +0300 Subject: 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. --- tests/basics/int_bytes_notimpl.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/basics/int_bytes_notimpl.py') 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)) -- cgit v1.2.3