summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics
Commit message (Collapse)AuthorAge
* py/sequence: Fix reverse slicing of lists.Fabio Utzig2016-10-30
|
* tests/basics/gc1: Garbage collector threshold() coverage.Alex March2016-10-27
|
* tests/basics: Add test for builtin "delattr".Damien George2016-10-24
|
* tests/basics/builtin_slice: Add test for "slice" builtin name.Damien George2016-10-24
|
* tests: Add test to print full KeyError exc from failed dict lookup.Damien George2016-10-17
|
* tests: Improve coverage of array, range, dict, slice, exc, unicode.Damien George2016-10-17
|
* tests: Improve test coverage of py/compile.c.Damien George2016-10-11
|
* tests: Improve coverage of struct with test for non-compliant behaviour.Damien George2016-10-07
|
* tests/basics: Add test for printing OSError when errno is unknown.Damien George2016-09-30
|
* tests/basics: Add test constructing a set from a non-trivial expression.Damien George2016-09-30
|
* tests/basics: Add further tests for nonlocal scoping and closures.Damien George2016-09-30
|
* py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George2016-09-28
| | | | | There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
* tests/basics: Add test for set.difference_update with arg being itself.Damien George2016-09-28
|
* py/objset: Ensure that use of frozenset.update raises an exception.Damien George2016-09-28
|
* tests/basics: Add test case for overflowing Py stack in try-finally.Damien George2016-09-27
|
* tests/array1: Add tests for "l", "L" array types to improve coverage.Paul Sokolovsky2016-09-19
|
* tests/struct1: Test "l" specifier to improve coverage.Paul Sokolovsky2016-09-19
|
* tests/basics: Add errno1 test, to check basics of uerrno module.Damien George2016-09-16
|
* tests/basics/special_methods: Enable tests for extra special methods.Damien George2016-08-17
| | | | | These additional special methods are enabled on most ports so we can test them in this test.
* tests/basics: Add a test file for overriding special methods.rguillon2016-08-17
|
* py/sequence: Allow to use bignums as indices in slice objects.Damien George2016-08-15
| | | | See issue #2264.
* tests/basics: Add test for break from within try within a for-loop.Damien George2016-08-15
|
* tests/basics: Add more list tests to improve coverage testing.Damien George2016-08-15
|
* tests/basics: Add more tuple tests to improve coverage testing.Damien George2016-08-15
|
* tests/basics: bytes/str.partition/rpartition are now optional.Paul Sokolovsky2016-08-07
| | | | Skip tests if not available.
* py/objstrunicode: str_index_to_ptr: Should handle bytes too.Paul Sokolovsky2016-07-25
| | | | | There's single str_index_to_ptr() function, called for both bytes and unicode objects, so should handle each properly.
* tests/bytes_compare: Rework test for bytes <-> str comparison.Paul Sokolovsky2016-07-22
| | | | This may produce a warning, depending on MicroPython configuration.
* tests: Add testcase for OrderedDict equality.Mark Anthony Palomer2016-06-12
| | | | | | | | | | There's a need for .exp file because CPython renders OrderedDict's as: OrderedDict([('b', 2)]) while MicroPython as: OrderedDict({'b': 2})
* py/modstruct: Allow to have "0s" in struct format.Damien George2016-05-28
|
* py/objnamedtuple: Allow passing field names as a tuple.Antonin ENFRUN2016-05-23
| | | | | So the documentation's example works. Besides, a tuple can be more memory efficient.
* tests: Add testcase for str.center().Paul Sokolovsky2016-05-22
|
* tests/struct1: Add testcase for an unknown type char.Paul Sokolovsky2016-05-14
|
* tests/basics/string_splitlines: Reinstate feature test for splitlines.Damien George2016-05-13
|
* py/objstr: Make dedicated splitlines function, supporting diff newlines.Damien George2016-05-13
| | | | | | | | It now supports \n, \r and \r\n as newline separators. Adds 56 bytes to stmhal and 80 bytes to unix x86-64. Fixes issue #1689.
* py/mpz: Do Python style division/modulo within bignum divmod routine.Damien George2016-05-08
| | | | | This patch consolidates the Python logic for division/modulo to one place within the bignum code.
* py/mpz: Fix bug with overflowing C-shift in division routine.Damien George2016-05-08
| | | | | | | When DIG_SIZE=32, a uint32_t is used to store limbs, and no normalisation is needed because the MSB is already set, then there will be left and right shifts (in C) by 32 of a 32-bit variable, leading to undefined behaviour. This patch fixes this bug.
* tests: Disable memoryview tests that overflow int conversion.Damien George2016-05-07
| | | | They fail on builds with 32-bit word size.
* py/runtime: Properly handle passing user mappings to ** keyword args.Damien George2016-05-07
|
* py/objstr: Binary type of str/bytes for buffer protocol is 'B'.Damien George2016-05-07
| | | | | | The type is an unsigned 8-bit value, since bytes objects are exactly that. And it's also sensible for unicode strings to return unsigned values when accessed in a byte-wise manner (CPython does not allow this).
* tests: Update for _io/_collections module having been renamed.Paul Sokolovsky2016-05-02
|
* tests: Add testcase for yielding from a stopped generator.Paul Sokolovsky2016-04-28
|
* py: Fix bug passing a string as a keyword arg in a dict.Damien George2016-04-21
| | | | Addresses issue #1998.
* tests: Fix dict1.py so it doesn't rely on the order of dict elems.Damien George2016-04-15
|
* tests: Add .exp files for async tests, so they can run with Python 3.4.Damien George2016-04-13
|
* tests: Add 6 tests for async await/for/with.Damien George2016-04-13
|
* py/objarray: Fix array.append so it doesn't extend if append fails.Damien George2016-04-07
| | | | Addresses issue #1965.
* tests: Split large tests into smaller files, to run with a small heap.Damien George2016-03-15
| | | | | | | All tests in basics/ directory can now run and pass using 64-bit unix port with only a 16k heap (./run-tests --heapsize 16k). Tests in this directory should remain small so they can be used for ports with a small heap.
* py/objarray: Fix array slice assignment when array is reallocated.Damien George2016-03-14
| | | | Addresses issue #1898.
* tests: Remove commented out tests so test script is not too big.Damien George2016-03-06
|
* tests: Reduce large object allocations so tests can run with small heap.Damien George2016-03-06
|