summaryrefslogtreecommitdiffstatshomepage
path: root/tests
Commit message (Collapse)AuthorAge
* tests/basics/string_rsplit: Add tests for negative "maxsplit" argument.Damien George2017-06-02
|
* various: Spelling fixesVille Skyttä2017-05-29
|
* tests/basics: Add more tests for unwind jumps from within a try-finally.Damien George2017-05-25
| | | | These tests excercise cases that are fixed by the previous two commits.
* tests/basics/builtin_range: Add tests for negative slicing of range.Damien George2017-05-18
|
* tests/basics/list_slice_3arg: Add more tests for negative slicing.Damien George2017-05-18
|
* tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object.Tom Collins2017-05-15
|
* tests/extmod/vfs_fat_more: Make skippable is uos is not available.Paul Sokolovsky2017-05-13
| | | | Fixes Zephyr tests.
* tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.Damien George2017-05-13
|
* tests/basics/lexer: Add line continuation tests for lexer.Tom Collins2017-05-12
| | | | | | 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.
* tests/extmod/vfs: Update tests to reflect new ilistdir() method.Damien George2017-05-10
|
* tests/extmod: Make some vfs tests fully unmount FSs before running.Damien George2017-05-09
| | | | | Otherwise the existing FSs can interfere with the tests, and in some cases the tests can write to the real FS on the device.
* tests/basics/lexer: Add lexer tests for input starting with newlines.Tom Collins2017-05-09
|
* tests/basics: Add memoryview test for big ints.Damien George2017-05-09
|
* tests/basics: Update array test for big-int with lL typecodes.Damien George2017-05-09
|
* py/modio: resource_stream: Implement "package" param handling.Paul Sokolovsky2017-05-06
|
* tests: Move super-as-local test from cpydiff to basic tests.Damien George2017-05-06
| | | | It's now possible to use the name "super" as a local variable.
* tests/micropython: Add test for int.from_bytes with many zero bytes.Damien George2017-05-06
|
* tests/extmod: Add some more VFS tests.Damien George2017-05-05
|
* tests/extmod: Add more tests for VFS FAT.Damien George2017-05-05
|
* tests/cpydiff/core_function_unpacking: Fill in workaround.Paul Sokolovsky2017-05-04
|
* tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages.Paul Sokolovsky2017-05-03
|
* tests/cpydiff/core_import_path: Test showing difference in package.__path__.Paul Sokolovsky2017-05-03
|
* tests/io/resource_stream: Add test for uio.resource_stream().Paul Sokolovsky2017-05-03
|
* tests/cpydiff/core_import_prereg: Fill in cause and workaround.Paul Sokolovsky2017-05-02
|
* tests/cpydiff/core_function_userattr: Clarify, fill in cause and workaround.Paul Sokolovsky2017-05-02
|
* tests/cpydiff/core_arguments: Fill in cause/workaround.Paul Sokolovsky2017-05-02
|
* tests/basics: Add tests for int.from_bytes when src has trailing zeros.Damien George2017-04-25
| | | | The trailing zeros should be truncated from the converted value.
* tests: Add tests for calling super and loading a method directly.Damien George2017-04-22
|
* py/compile: Refactor handling of special super() call.Damien George2017-04-22
| | | | | | | | | | | | | | | | | | | 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
* extmod/moductypes: Fix bigint handling for 32-bit ports.Paul Sokolovsky2017-04-21
|
* tests/micropython: Add test for micropython.kbd_intr().Damien George2017-04-18
|
* tests/run-tests: Don't post-process CRASH result in any way.Paul Sokolovsky2017-04-16
| | | | | | 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.
* extmod/machine_signal: Rename "inverted" arg to "invert", it's shorter.Damien George2017-04-15
| | | | | | | 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.
* tests/run-tests: Search feature checks wrt to main script location.Paul Sokolovsky2017-04-14
| | | | | If run-tests script is run from another dir, we still want to look up feature checks in run-tests' dir.
* tests/extmod/utimeq1: Improve coverage of utimeq module.Damien George2017-04-13
|
* tests/basics: Add test for tuple inplace add.Damien George2017-04-05
|
* tests/basics: Add tests for raising ValueError when range() gets 0 step.Damien George2017-04-05
|
* extmod/modframebuf: Make monochrome bitmap formats start with MONO_.Peter Hinch2017-04-04
| | | | | | | | 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.
* tests/run-tests: Update names of tests that may need skipping.Damien George2017-04-04
|
* tests/float: Add tests for hashing float and complex numbers.Damien George2017-04-04
|
* tests/run-tests: Introduce generic "minimal" target.Paul Sokolovsky2017-04-03
| | | | Used e.g. by Zephyr port.
* tests/micropython/heapalloc_iter: Improve skippability.Paul Sokolovsky2017-04-03
|
* tests/float/byte*_construct: Skip on missing array module.Paul Sokolovsky2017-04-03
|
* tests/extmod/vfs_fat_fileio*: Improve skippability.Paul Sokolovsky2017-04-03
| | | | Should be skipped on missing uso, uerrno modules.
* run-tests: Add feature check for "const" keyword and skip related tests.Paul Sokolovsky2017-04-02
|
* tests: vfs_fat_fileio.py is too big to be parsed in 16K heap, split in 2.Paul Sokolovsky2017-04-02
| | | | This restores ability to run testsuite with 16K heap.
* tests/run-tests: Be sure to close Pyboard object on completion.Paul Sokolovsky2017-04-02
| | | | So underlying device was properly closed too.
* tests/basics: Add tests for list and bytearray growing using themselves.Damien George2017-04-02
|
* tests/basics: Add test for super() when self is closed over.Damien George2017-03-27
|
* tests/float: Add tests for round() of inf, nan and large number.Damien George2017-03-24
|