aboutsummaryrefslogtreecommitdiff
path: root/tests/basics
AgeCommit message (Collapse)Author
2017-02-24Add indices() support to slice.Scott Shawcroft
2017-02-14Fix tests that rely on sys.implementation.name to work with circutpython ↵Scott Shawcroft
response.
2017-01-07tests/array*: Allow to skip test if "array" is unavailable.Paul Sokolovsky
2017-01-06tests/types1: Split out set type test to set_types.Paul Sokolovsky
set isn't the most basic type and can be disabled by a port.
2017-01-05tests/run-tests: Allow to skip set tests.Paul Sokolovsky
If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern.
2016-12-28tests/basics: Add tests to improve coverage of binary.c.Rami Ali
2016-12-28tests/basics: Add tests for parsing of ints with base 36.Damien George
2016-12-22tests/basics/lexer: Add a test for newline-escaping within a string.Damien George
2016-12-21tests: Add tests to improve coverage of objarray.c.Rami Ali
2016-12-21tests: Add tests to improve coverage of runtime.c.Rami Ali
2016-12-20tests/basics: Improve test coverage for generators.Rami Ali
2016-12-20tests/basics/set_pop: Improve coverage of set functions.Damien George
2016-12-20tests/basics: Add test for builtin locals().Damien George
2016-12-20tests/basics/builtin_dir: Add test for dir() of a type.Damien George
2016-12-20tests/basics: Improve mpz test coverage.Rami Ali
2016-12-19tests/struct*: Make skippable.Paul Sokolovsky
2016-12-09tests: Update for required byteorder arg for int.from_bytes()/to_bytes().Paul Sokolovsky
2016-11-26tests/basics: Enable tests for list slice getting with 3rd arg.Damien George
Also add a test to check case when 3rd arg is 0.
2016-11-26tests/basics: Change dict_fromkeys test so it doesn't use generators.Damien George
And then it can run with the native emitter.
2016-11-26tests/basics: Add tests for if-expressions.Damien George
2016-11-26tests/basics: Add test for dict.fromkeys where arg is a generator.Damien George
Improves coverage because it tests the case where the arg does not have a __len__ slot.
2016-11-22tests/basics: Improve user class coverage.Rami Ali
2016-11-15tests/basics: Add test for logical constant folding.Damien George
2016-10-30py/sequence: Fix reverse slicing of lists.Fabio Utzig
2016-10-27tests/basics/gc1: Garbage collector threshold() coverage.Alex March
2016-10-24tests/basics: Add test for builtin "delattr".Damien George
2016-10-24tests/basics/builtin_slice: Add test for "slice" builtin name.Damien George
2016-10-17tests: Add test to print full KeyError exc from failed dict lookup.Damien George
2016-10-17tests: Improve coverage of array, range, dict, slice, exc, unicode.Damien George
2016-10-11tests: Improve test coverage of py/compile.c.Damien George
2016-10-07tests: Improve coverage of struct with test for non-compliant behaviour.Damien George
2016-09-30tests/basics: Add test for printing OSError when errno is unknown.Damien George
2016-09-30tests/basics: Add test constructing a set from a non-trivial expression.Damien George
2016-09-30tests/basics: Add further tests for nonlocal scoping and closures.Damien George
2016-09-28py/compile: Fix async-for/async-with to work with simpler exc on stack.Damien George
There is now just the exception instance on the stack when an exception is raised, not the full (type, exc, traceback).
2016-09-28tests/basics: Add test for set.difference_update with arg being itself.Damien George
2016-09-28py/objset: Ensure that use of frozenset.update raises an exception.Damien George
2016-09-27tests/basics: Add test case for overflowing Py stack in try-finally.Damien George
2016-09-19tests/array1: Add tests for "l", "L" array types to improve coverage.Paul Sokolovsky
2016-09-19tests/struct1: Test "l" specifier to improve coverage.Paul Sokolovsky
2016-09-16tests/basics: Add errno1 test, to check basics of uerrno module.Damien George
2016-08-17tests/basics/special_methods: Enable tests for extra special methods.Damien George
These additional special methods are enabled on most ports so we can test them in this test.
2016-08-17tests/basics: Add a test file for overriding special methods.rguillon
2016-08-15py/sequence: Allow to use bignums as indices in slice objects.Damien George
See issue #2264.
2016-08-15tests/basics: Add test for break from within try within a for-loop.Damien George
2016-08-15tests/basics: Add more list tests to improve coverage testing.Damien George
2016-08-15tests/basics: Add more tuple tests to improve coverage testing.Damien George
2016-08-07tests/basics: bytes/str.partition/rpartition are now optional.Paul Sokolovsky
Skip tests if not available.
2016-07-25py/objstrunicode: str_index_to_ptr: Should handle bytes too.Paul Sokolovsky
There's single str_index_to_ptr() function, called for both bytes and unicode objects, so should handle each properly.
2016-07-22tests/bytes_compare: Rework test for bytes <-> str comparison.Paul Sokolovsky
This may produce a warning, depending on MicroPython configuration.