summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-05-18tests/basics/builtin_range: Add tests for negative slicing of range.Damien George
2017-05-18tests/basics/list_slice_3arg: Add more tests for negative slicing.Damien George
2017-05-15tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object.Tom Collins
2017-05-13tests/extmod/vfs_fat_more: Make skippable is uos is not available.Paul Sokolovsky
Fixes Zephyr tests.
2017-05-13tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.Damien George
2017-05-12tests/basics/lexer: Add line continuation tests for lexer.Tom Collins
Tests for an issue with line continuation failing in paste mode due to the lexer only checking for \n in the "following" character position, before next_char() has had a chance to convert \r and \r\n to \n.
2017-05-10tests/extmod/vfs: Update tests to reflect new ilistdir() method.Damien George
2017-05-09tests/extmod: Make some vfs tests fully unmount FSs before running.Damien George
Otherwise the existing FSs can interfere with the tests, and in some cases the tests can write to the real FS on the device.
2017-05-09tests/basics/lexer: Add lexer tests for input starting with newlines.Tom Collins
2017-05-09tests/basics: Add memoryview test for big ints.Damien George
2017-05-09tests/basics: Update array test for big-int with lL typecodes.Damien George
2017-05-06py/modio: resource_stream: Implement "package" param handling.Paul Sokolovsky
2017-05-06tests: Move super-as-local test from cpydiff to basic tests.Damien George
It's now possible to use the name "super" as a local variable.
2017-05-06tests/micropython: Add test for int.from_bytes with many zero bytes.Damien George
2017-05-05tests/extmod: Add some more VFS tests.Damien George
2017-05-05tests/extmod: Add more tests for VFS FAT.Damien George
2017-05-04tests/cpydiff/core_function_unpacking: Fill in workaround.Paul Sokolovsky
2017-05-03tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages.Paul Sokolovsky
2017-05-03tests/cpydiff/core_import_path: Test showing difference in package.__path__.Paul Sokolovsky
2017-05-03tests/io/resource_stream: Add test for uio.resource_stream().Paul Sokolovsky
2017-05-02tests/cpydiff/core_import_prereg: Fill in cause and workaround.Paul Sokolovsky
2017-05-02tests/cpydiff/core_function_userattr: Clarify, fill in cause and workaround.Paul Sokolovsky
2017-05-02tests/cpydiff/core_arguments: Fill in cause/workaround.Paul Sokolovsky
2017-04-25tests/basics: Add tests for int.from_bytes when src has trailing zeros.Damien George
The trailing zeros should be truncated from the converted value.
2017-04-22tests: Add tests for calling super and loading a method directly.Damien George
2017-04-22py/compile: Refactor handling of special super() call.Damien George
This patch refactors the handling of the special super() call within the compiler. It removes the need for a global (to the compiler) state variable which keeps track of whether the subject of an expression is super. The handling of super() is now done entirely within one function, which makes the compiler a bit cleaner and allows to easily add more optimisations to super calls. Changes to the code size are: bare-arm: +12 minimal: +0 unix x64: +48 unix nanbox: -16 stmhal: +4 cc3200: +0 esp8266: -56
2017-04-21extmod/moductypes: Fix bigint handling for 32-bit ports.Paul Sokolovsky
2017-04-18tests/micropython: Add test for micropython.kbd_intr().Damien George
2017-04-16tests/run-tests: Don't post-process CRASH result in any way.Paul Sokolovsky
If we got a CRASH result, return early, similar to SKIP. This is important because previous refactor changed branching logic a bit, so CRASH now gets post-processed into CRASH\n, which broke remote hardware tests.
2017-04-15extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter.Damien George
A shorter name takes less code size, less room in scripts and is faster to type at the REPL. Tests and HW-API examples are updated to reflect the change.
2017-04-14tests/run-tests: Search feature checks wrt to main script location.Paul Sokolovsky
If run-tests script is run from another dir, we still want to look up feature checks in run-tests' dir.
2017-04-13tests/extmod/utimeq1: Improve coverage of utimeq module.Damien George
2017-04-05tests/basics: Add test for tuple inplace add.Damien George
2017-04-05tests/basics: Add tests for raising ValueError when range() gets 0 step.Damien George
2017-04-04extmod/modframebuf: Make monochrome bitmap formats start with MONO_.Peter Hinch
MONO_xxx is much easier to read if you're not familiar with the code. MVLSB is deprecated but kept for backwards compatibility, for the time being. This patch also updates the associated docs and tests.
2017-04-04tests/run-tests: Update names of tests that may need skipping.Damien George
2017-04-04tests/float: Add tests for hashing float and complex numbers.Damien George
2017-04-03tests/run-tests: Introduce generic "minimal" target.Paul Sokolovsky
Used e.g. by Zephyr port.
2017-04-03tests/micropython/heapalloc_iter: Improve skippability.Paul Sokolovsky
2017-04-03tests/float/byte*_construct: Skip on missing array module.Paul Sokolovsky
2017-04-03tests/extmod/vfs_fat_fileio*: Improve skippability.Paul Sokolovsky
Should be skipped on missing uso, uerrno modules.
2017-04-02run-tests: Add feature check for "const" keyword and skip related tests.Paul Sokolovsky
2017-04-02tests: vfs_fat_fileio.py is too big to be parsed in 16K heap, split in 2.Paul Sokolovsky
This restores ability to run testsuite with 16K heap.
2017-04-02tests/run-tests: Be sure to close Pyboard object on completion.Paul Sokolovsky
So underlying device was properly closed too.
2017-04-02tests/basics: Add tests for list and bytearray growing using themselves.Damien George
2017-03-27tests/basics: Add test for super() when self is closed over.Damien George
2017-03-24tests/float: Add tests for round() of inf, nan and large number.Damien George
2017-03-23tests/float: Add tests for math funcs that return ints.Damien George
One should test bigint, inf and nan to make sure all cases are covered.
2017-03-22tests/heapalloc_str: Test no-replacement case for str.replace().Paul Sokolovsky
2017-03-20extmod/modframebuf: Add support for monochrome horizontal format.Peter Hinch
MHLSB and MHMSB formats are added to the framebuf module, which have 8 adjacent horizontal pixels represented in a single byte.