Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | tests/misc: Add test for line number printing with large bytecode chunk. | Damien George | 2017-02-10 |
| | |||
* | py/objtype: Implement __delattr__ and __setattr__. | dmazzella | 2017-02-09 |
| | | | | | | This patch implements support for class methods __delattr__ and __setattr__ for customising attribute access. It is controlled by the config option MICROPY_PY_DELATTR_SETATTR and is disabled by default. | ||
* | tests/pyb: Adjust tests so they can run on PYB and PYBLITE. | Damien George | 2017-02-06 |
| | | | | | | A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other). | ||
* | stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour. | Damien George | 2017-02-06 |
| | | | | | | | | | This new function controls what happens on a hard-fault: - debugging disabled: board will do a reset - debugging enabled: board will print registers and stack and flash LEDs The default is disabled, ie to do a reset. This is different to previous behaviour which flashed the LEDs and waited indefinitely. | ||
* | extmod/machine_pulse: Make time_pulse_us() not throw exceptions. | Paul Sokolovsky | 2017-02-05 |
| | | | | | | | | | | | | machine.time_pulse_us() is intended to provide very fine timing, including while working with signal bursts, where each transition is tracked in row. Throwing and handling an exception may take too much time and "signal loss". So instead, in case of a timeout, just return negative value. Cases of timeout while waiting for initial signal stabilization, and during actual timing, are recognized. The documentation is updated accordingly, and rewritten somewhat to clarify the function behavior. | ||
* | tests/basics/string_format_modulo: Add more tests for dict formatting. | Damien George | 2017-02-03 |
| | |||
* | tests: Split tests for 2- and 3-arg pow(). | Paul Sokolovsky | 2017-02-02 |
| | |||
* | py: Added optimised support for 3-argument calls to builtin.pow() | Nicko van Someren | 2017-02-02 |
| | | | | | | Updated modbuiltin.c to add conditional support for 3-arg calls to pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in objint_mpz.c for for optimised implementation. | ||
* | tests/float: Add tests for zero to a negative power. | Damien George | 2017-02-03 |
| | |||
* | tests/basics/set_binop: Add tests for inplace set operations. | Damien George | 2017-02-02 |
| | |||
* | tests/heapalloc_bytesio: Test for BytesIO with preallocates space. | Paul Sokolovsky | 2017-02-02 |
| | |||
* | tests/thread: Fix stack size test so tests run reliably on baremetal. | Damien George | 2017-02-01 |
| | |||
* | tests/thread: Make thread_exc2 runable on baremetal. | Damien George | 2017-01-31 |
| | |||
* | tests/basics/zip: Make skippable. | Paul Sokolovsky | 2017-01-31 |
| | |||
* | tests/run-tests: Skip frozenset tests if set literal syntax is not available. | Paul Sokolovsky | 2017-01-31 |
| | |||
* | tests/extmod/vfs_fat_ramdisk: Make it work on pyboard. | Damien George | 2017-01-27 |
| | |||
* | tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. | Damien George | 2017-01-27 |
| | | | | The vfs_fat_fsusermount test is no longer relevant so has been removed. | ||
* | test/extmod: Update vfs_fat tests for new OO FatFs library. | Damien George | 2017-01-27 |
| | | | | | The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs. | ||
* | tests/heapalloc_str: Test for alloc-free string operations. | Paul Sokolovsky | 2017-01-27 |
| | | | | Starts with concatenation with an empty string. | ||
* | tests/extmod: Add test for ure debug printing when compiling a regex. | Damien George | 2017-01-26 |
| | |||
* | tests/extmod/framebuf1: Fix test for framebuf invalid constructor. | Damien George | 2017-01-25 |
| | |||
* | tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. | Oleg Korsak | 2017-01-25 |
| | |||
* | extmod/modframebuf: Add GS4_HMSB format. | Oleg Korsak | 2017-01-25 |
| | |||
* | tests: Make sure special tests can be skipped as well. | stijn | 2017-01-24 |
| | | | | Fixes #2806. | ||
* | tests/basics/builtin_help: Add test for help('modules'). | Damien George | 2017-01-22 |
| | |||
* | tests: Add test for builtin help function. | Damien George | 2017-01-22 |
| | |||
* | tests/heapalloc_int_from_bytes: Test that int.from_bytes() can work w/o alloc. | Paul Sokolovsky | 2017-01-21 |
| | | | | | For a small number of bytes, it's expected to return a small int without allocation. | ||
* | tests: Add test for int.from_bytes() for arbitrary-precision integer. | Paul Sokolovsky | 2017-01-21 |
| | | | | | This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases. | ||
* | tests/basics: Add test for assignment of attribute to bound method. | Damien George | 2017-01-20 |
| | |||
* | tests/misc/non_compliant: Add test for inability to assign func attrs. | Damien George | 2017-01-19 |
| | |||
* | tests/micropython/opt_level: Add test for opt_level 3. | Damien George | 2017-01-19 |
| | |||
* | tests/extmod/framebuf1: Add test for no-op fill_rect. | Damien George | 2017-01-19 |
| | |||
* | tests/float: Add test for assigning to attribute of complex number. | Damien George | 2017-01-19 |
| | |||
* | py/binary: mp_binary_get_size: Raise error on unsupported typecodes. | Paul Sokolovsky | 2017-01-17 |
| | | | | | Previouly, we had errors checked in callers, which led to duplicate code or missing checks in some places. | ||
* | tests/extmod: Improve test coverage of ure module. | Rami Ali | 2017-01-17 |
| | |||
* | tests/basics: Improve runtime.c test coverage. | Rami Ali | 2017-01-17 |
| | |||
* | tests/io: Improve test coverage of io.BufferedWriter. | Rami Ali | 2017-01-17 |
| | |||
* | tests: Update tests, and add new ones, for recent generator tweaks. | Damien George | 2017-01-17 |
| | |||
* | tests: Improve frozen import test coverage. | Rami Ali | 2017-01-16 |
| | |||
* | py/builtinimport: Raise ValueError for bad relative import, per CPython. | Damien George | 2017-01-16 |
| | |||
* | tests/import: Improve builtinimport.c test coverage. | Rami Ali | 2017-01-16 |
| | |||
* | tests: Improve stream.c test coverage. | Rami Ali | 2017-01-16 |
| | |||
* | tests: Update test suite to be compatible with CPython 3.6. | Damien George | 2017-01-09 |
| | | | | | | | | CPython 3.6 has a few changes that, when run on uPy's test suite, give a different output to CPython 3.5. uPy currently officially supports the 3.4 language definition, but it's useful to be able to run the test suite with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to support 3.6. | ||
* | tests/unix/extra_coverage: Add tests for importing frozen packages. | Damien George | 2017-01-08 |
| | |||
* | tests/array*: Allow to skip test if "array" is unavailable. | Paul Sokolovsky | 2017-01-07 |
| | |||
* | tests/types1: Split out set type test to set_types. | Paul Sokolovsky | 2017-01-06 |
| | | | | set isn't the most basic type and can be disabled by a port. | ||
* | tests/unix/extra_coverage: Add basic tests to import frozen str and mpy. | Damien George | 2017-01-05 |
| | |||
* | tests/unix: Improve formatfloat.c test coverage using C. | Rami Ali | 2017-01-05 |
| | |||
* | tests/float: Improve formatfloat.c test coverage using Python. | Rami Ali | 2017-01-05 |
| | |||
* | tests: Improve warning.c test coverage. | Rami Ali | 2017-01-05 |
| |