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