diff options
| author | Paul Sokolovsky | 2017-03-10 02:11:43 +0100 |
|---|---|---|
| committer | Paul Sokolovsky | 2017-03-10 02:11:43 +0100 |
| commit | 854bb322bf9e20f1c5afe5e8a796ebeca238fa95 (patch) | |
| tree | 4f74269f08ab4697caf96dd6ffa1a144c22e28f4 /tests/feature_check | |
| parent | 776883cb80be675fad1fee1ffae5dcdb75f14f64 (diff) | |
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.
Diffstat (limited to 'tests/feature_check')
| -rw-r--r-- | tests/feature_check/int_big.py | 2 | ||||
| -rw-r--r-- | tests/feature_check/int_big.py.exp | 1 |
2 files changed, 2 insertions, 1 deletions
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 |
