aboutsummaryrefslogtreecommitdiff
path: root/tests/misc
AgeCommit message (Collapse)Author
2015-02-27py: Fix adding of traceback so that it appends to existing info.Damien George
This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126.
2014-12-18tests: Get misc/print_exception and pyb/spi working on pyboard.Damien George
2014-12-12tests: Activate recursive_data.py test, now that io.StringIO is available.Paul Sokolovsky
2014-12-11tests: Fix print_exception test and re-enable it on Travis CI.Damien George
Issue was with uPy: on local machine with micropython-lib installed, io module is available. Not the case on Travis CI, where only _io module is available in uPy.
2014-12-10tests: Fix print_exception.py to work on Travis CI.Damien George
2014-12-10tests: Add test for print_exception() function.Paul Sokolovsky
2014-09-06tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm.Damien George
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.
2014-06-28py: Add protection against printing too nested or recursive data structures.Paul Sokolovsky
With a test which cannot be automatically validated so far.
2014-06-27tests: Add test for catching infinite function recursion.Paul Sokolovsky
Put into misc/ to not complicate life for builds with check disabled.
2014-04-04tests: Make rge-sm.py use less memory (integration step increased).Damien George
In addition to memory allocation failure, other problem was that 10**17 was overflowing. Now passes.
2014-04-02Add a test.Damien George
2014-03-31py: Fix bug in optimised for .. range.Damien George
Don't store final, failing value to the loop variable. This fix also makes for .. range a bit more efficient, as it uses less store/load pairs for the loop variable.