aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-12-26tests: Skip class_bind_self.py for native emitter.Damien George
2015-12-26py: Be more restrictive binding self when looking up instance attrs.Damien George
When looking up and extracting an attribute of an instance, some attributes must bind self as the first argument to make a working method call. Previously to this patch, any attribute that was callable had self bound as the first argument. But Python specs require the check to be more restrictive, and only functions, closures and generators should have self bound as the first argument Addresses issue #1675.
2015-12-24tests: Skip try-finally test for native emitter.Damien George
2015-12-24py: Handle case of return within the finally block of try-finally.Damien George
Addresses issue #1636.
2015-12-23tests: Add tests for stream IO errors.Damien George
2015-12-20tests: Add tests for %-formatting of bytes.Paul Sokolovsky
This requires CPython3.5, to not require switching to it, just use .exp file.
2015-12-12py/modmath: Add domain error checking to sqrt, log, log2, log10.Michael Buesch
These functions will raise 'ValueError: math domain error' on invalid input.
2015-12-12py: Fix compiler to handle lambdas used as default arguments.Damien George
Addresses issue #1709.
2015-12-12unix: Rename "_os" module to "uos" for consistency with baremetal ports.Paul Sokolovsky
2015-12-10tests: Add test for "not" of a user defined class.Damien George
2015-12-10py/emitinlinethumb: Add support for MRS instruction.Henrik Sölver
Only IPSR and BASEPRI special registers supported at the moment, but easy to extend in the future.
2015-12-09extmod: Add test which demonstrates LITTLE_ENDIAN packing failureDave Hylands
2015-12-09py: Fix calling of parent classmethod from instance of subclass.Damien George
Addresses issue #1697.
2015-12-08tests: Disable for_range.py test for native emitter (it requires yield).Damien George
2015-12-08py: Don't try to optimise for+range when args are not simple expressions.Damien George
Addresses issue #1693.
2015-12-07tests/builtin_minmax: Make compatible with @native codegen.Paul Sokolovsky
2015-12-07tests/builtin_minmax: Add testcase for lazy iterable (generator).Paul Sokolovsky
2015-12-07tests: Add min/max "default" agrument testpohmelie
2015-12-06tests: Actuall add feature check for complex type being available.Paul Sokolovsky
2015-12-06tests/run-tests: Allow to skip complex tests if it's not compiled in.Paul Sokolovsky
2015-12-05tests/extra_coverage: Update for sys.modules addition.Paul Sokolovsky
2015-12-03py: Fix function calls that have positional and a star-arg-with-iterator.Damien George
Addresses issue #1678.
2015-11-30stmhal: Make uart.write() function correctly for timeout=0.Damien George
In non-blocking mode (timeout=0), uart.write() can now transmit all of its data without raising an exception. uart.read() also works correctly in this mode. As part of this patch, timout_char now has a minimum value which is long enough to transfer 1 character. Addresses issue #1533.
2015-11-30stmhal: uart.any() function now returns number of bytes available.Ryan Shaw
2015-11-24tests/run-tests: Improve robustness of REPL tests.Paul Sokolovsky
Unconditionally wait for MicroPython banner. On overloaded systems, when using emulators, etc. initial executable startup may take more than 20ms.
2015-11-23py/compile: Do proper checking of * and ** in function definition.Damien George
This patch checks that there is only one *, and that ** is last in the arg list.
2015-11-23py: Check that second argument to hasattr is actually a string.Damien George
Fixes issue #1623.
2015-11-22tests/int_big_*: Add more tests for result normalization.Paul Sokolovsky
Tested by comparability to small int/casting to bool.
2015-11-22tests/int_big_xor: Test that xor result is normalized.Paul Sokolovsky
And thus can be successfully used in comparisons, etc.
2015-11-22tests/float/string_format: Add testcase for incorrect rounding for %f.Paul Sokolovsky
2015-11-17py: Implement default and star args for lambdas.Damien George
2015-11-16cc3200: Unmount all user file systems after a soft reset.danicampora
2015-11-13tests/jni: Add test for working with container of List interface.Paul Sokolovsky
2015-11-02stmhal/can: Fix a bug in filter handling.Henrik Sölver
Reported here: http://forum.micropython.org/viewtopic.php?f=2&t=845
2015-11-01extmod/modure: Make sure that errors in regexps are caught early.Paul Sokolovsky
2015-10-31tests/base/struct1.py: Add test for repetition counters.Paul Sokolovsky
2015-10-31tests: Make sure test output has \r\n line-ends when running on Windowsstijn
This is the case already when using just subprocess.check_output, but in the special cases (cmdline, meminfo, ...) the carriage return gets lost during output processing so restore it in the end. This fixes the micropython/meminfo.py test on Windows.
2015-10-31py: In inline asm, vldr and vstr offsets now in bytes not words.adminpete
As per ARM convention.
2015-10-26cc3200: Set pin direction first, then value. Fixes #1542.danicampora
2015-10-24tests/jni: Test for basic object operations.Paul Sokolovsky
2015-10-21cc3200: Fix UART tests after correcting uart.read() behaviour.danicampora
2015-10-21cc3200: Correct ticks_cpu and ticks_us functions in time module.danicampora
2015-10-20tests: Disable some tests for pyboard that do not run correctly.Damien George
2015-10-20tests/extmod: Add tests for sleep_ms/us(), ticks_ms/us/diff().Paul Sokolovsky
Simple smoke tests, mostly for coverage. Added to extmod based on the fact that they're extensions to standard modules.
2015-10-19cc3200: WLAN class can retrieve the existing instance.danicampora
2015-10-19tests/wipy: Make WLAN test more stable.danicampora
2015-10-19cc3200: Fix time.ticks_* functions.danicampora
2015-10-19docs: Add wipy and network.server documentation.danicampora
2015-10-19cc3200: Refactor network module to make the server a propper object.danicampora
2015-10-19cc3200: Create wipy module, remove HeartBeat class.danicampora
The heartbeat is now controllable via a single function within the wipy module.