summaryrefslogtreecommitdiff
path: root/tests/misc/print_exception.py
AgeCommit message (Collapse)Author
2017-06-10tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky
2017-03-11tests/misc/: Make few tests skippable.Paul Sokolovsky
2017-02-10tests/misc: Add test for line number printing with large bytecode chunk.Damien George
2016-05-02tests: Make "io" modules fixes for CPython compatibility.Paul Sokolovsky
Previously, "import _io" worked on both CPython and MicroPython (essentially by a chance on CPython, as there's not guarantee that its contents will stay the same across versions), but as the module was renamed to uio, need to use more robust import sequence for compatibility.
2016-05-02tests: Update for _io/_collections module having been renamed.Paul Sokolovsky
2016-03-07tests/print_exception: Use exception which prints the same regardless of config.Paul Sokolovsky
NameError may either include offending name or not. Unfortunately, this change makes test float-dependent. And using integer division leads to different error message than CPython.
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-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-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