summaryrefslogtreecommitdiff
path: root/tests/basics/int1.py
AgeCommit message (Collapse)Author
2016-12-28tests/basics: Add tests for parsing of ints with base 36.Damien George
2015-09-07tests: Move int+unicode test to unicode-specific test directory.Damien George
2015-04-22tests: Add tests for attrtuple, and for more corner cases.Damien George
2015-03-25tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George
This is intended to improve coverage of the test suite.
2015-02-08py: Parse big-int/float/imag constants directly in parser.Damien George
Previous to this patch, a big-int, float or imag constant was interned (made into a qstr) and then parsed at runtime to create an object each time it was needed. This is wasteful in RAM and not efficient. Now, these constants are parsed straight away in the parser and turned into objects. This allows constants with large numbers of digits (so addresses issue #1103) and takes us a step closer to #722.
2015-01-29tests: Add some tests to improve coverage.Damien George
Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly.
2014-08-26Make int(b'123') work properly.Dave Hylands
2014-05-11py: Give up and make mp_obj_str_get_data() deal with bytes too.Paul Sokolovsky
This is not fully correct re: error handling, because we should check that that types are used consistently (only str's or only bytes), but magically makes lot of functions support bytes.
2014-05-10py: Fix base "detection" for int('0<hexdigit>', 16).Paul Sokolovsky
2014-01-19Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky