From 854bb322bf9e20f1c5afe5e8a796ebeca238fa95 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 10 Mar 2017 02:11:43 +0100 Subject: tests/feature_check/int_big: Rework "big int" detection. MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just parsing a large number won't give an error, we need to print it out to check that the whole number was parsed. --- tests/feature_check/int_big.py | 2 +- tests/feature_check/int_big.py.exp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/feature_check') diff --git a/tests/feature_check/int_big.py b/tests/feature_check/int_big.py index 8b82814ae..f30285a98 100644 --- a/tests/feature_check/int_big.py +++ b/tests/feature_check/int_big.py @@ -1,2 +1,2 @@ # Check whether arbitrary-precision integers (MPZ) are supported -1000000000000000000000000000000000000000000000 +print(1000000000000000000000000000000000000000000000) diff --git a/tests/feature_check/int_big.py.exp b/tests/feature_check/int_big.py.exp index e69de29bb..9dfe3354d 100644 --- a/tests/feature_check/int_big.py.exp +++ b/tests/feature_check/int_big.py.exp @@ -0,0 +1 @@ +1000000000000000000000000000000000000000000000 -- cgit v1.2.3