aboutsummaryrefslogtreecommitdiff
path: root/tests/misc
AgeCommit message (Collapse)Author
2015-10-02tests: Allow tests to pass against CPython 3.5.Damien George
All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
2015-10-01py/mpz: Raise NotImplError instead of failing assertion.Damien George
2015-09-07py/lexer: Raise NotImplError for unicode name escape, instead of assert.Damien George
2015-09-07tests: Add tests for non-compliant behaviour of lexer.Damien George
2015-09-04py/objstr: For str.endswith(s, start) raise NotImpl instead of assert.Damien George
2015-09-03tests: Add tests to improve coverage of objstr.c.Damien George
2015-09-01py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0).Damien George
2015-08-30tests: Fix non-compliant expected output to match actual behaviour.Damien George
2015-08-30tests: Add tests for non-compliant behaviour.Damien George
These tests are intended to improve coverage and provide a record of behaviour that's either not implemented or non-compliant to CPython.
2015-06-24tests: Adapt misc/features.py tests for ports without floating point.Daniel Campora
2015-06-03tests: Add test for recursive iternext stack overflow.Damien George
2015-04-26vm: On exiting except block, clear sys.exc_info() value.Paul Sokolovsky
This doesn't handle case fo enclosed except blocks, but once again, sys.exc_info() support is a workaround for software which uses it instead of properly catching exceptions via variable in except clause.
2015-04-25modsys: Add basic sys.exc_info() implementation.Paul Sokolovsky
The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged.
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.