summaryrefslogtreecommitdiff
path: root/tests/basics/int_big_error.py
AgeCommit message (Collapse)Author
2023-01-23py/objint_mpz: Catch and reject @ and @= operating on big integers.Damien George
This will also catch / and /= when float support is disabled. Fixes issue #10544. Signed-off-by: Damien George <damien@micropython.org>
2018-08-17tests/basics/int_big_error.py: Use bytearray to test for int overflow.Damien George
In Python 3.7 "1 >> (big int)" is now allowed, it no longer raises an OverflowError. So use bytearray to test big-int conversion overflow.
2015-10-01py: Catch all cases of integer (big and small) division by zero.Damien George
2015-10-01tests: Add further tests for mpz code.Damien George
2015-03-03tests: Add tests for boundmeth; and bignum cmp, unary, float, error.Damien George