diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-04 00:13:27 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-04 00:13:27 +0300 |
commit | 3ab6aa3a6d0506e805caa19369bef279c1c789b4 (patch) | |
tree | 1232b7c9b796c907a7202dcd46f5008724058b05 /tests/basics/builtin_abs.py | |
parent | 89e570a5b4025976da66123032c58611f0f6cb17 (diff) | |
download | micropython-3ab6aa3a6d0506e805caa19369bef279c1c789b4.tar.gz micropython-3ab6aa3a6d0506e805caa19369bef279c1c789b4.zip |
tests/basic: Split tests into working with small ints and not working.
Tests which don't work with small ints are suffixed with _intbig.py. Some
of these may still work with long long ints and need to be reclassified
later.
Diffstat (limited to 'tests/basics/builtin_abs.py')
-rw-r--r-- | tests/basics/builtin_abs.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/basics/builtin_abs.py b/tests/basics/builtin_abs.py index 788bc450f8..142344e226 100644 --- a/tests/basics/builtin_abs.py +++ b/tests/basics/builtin_abs.py @@ -4,11 +4,3 @@ print(abs(False)) print(abs(True)) print(abs(1)) print(abs(-1)) - -# bignum -print(abs(123456789012345678901234567890)) -print(abs(-123456789012345678901234567890)) - -# edge cases for 32 and 64 bit archs (small int overflow when negating) -print(abs(-0x3fffffff - 1)) -print(abs(-0x3fffffffffffffff - 1)) |