Damien George
|
43384ad7e7
|
tests/basics: Add tests for parsing of ints with base 36.
|
2016-12-28 12:08:46 +11:00 |
|
Damien George
|
adccafb42a
|
tests/basics/lexer: Add a test for newline-escaping within a string.
|
2016-12-22 10:32:06 +11:00 |
|
Rami Ali
|
1731868ae7
|
tests: Add tests to improve coverage of objarray.c.
|
2016-12-21 18:21:41 +11:00 |
|
Rami Ali
|
531c206e8b
|
tests: Add tests to improve coverage of runtime.c.
|
2016-12-21 15:44:41 +11:00 |
|
Rami Ali
|
5d06a74303
|
tests/basics: Improve test coverage for generators.
|
2016-12-20 16:19:56 +11:00 |
|
Damien George
|
7bbce4e213
|
tests/basics/set_pop: Improve coverage of set functions.
|
2016-12-20 14:25:06 +11:00 |
|
Damien George
|
b470f59892
|
tests/basics: Add test for builtin locals().
|
2016-12-20 14:08:57 +11:00 |
|
Damien George
|
d291007fea
|
tests/basics/builtin_dir: Add test for dir() of a type.
|
2016-12-20 14:08:27 +11:00 |
|
Rami Ali
|
5e1ccddc82
|
tests/basics: Improve mpz test coverage.
|
2016-12-20 10:15:48 +11:00 |
|
Paul Sokolovsky
|
91359c8690
|
tests/struct*: Make skippable.
|
2016-12-19 19:41:12 +03:00 |
|
Paul Sokolovsky
|
aee13ef3f2
|
tests: Update for required byteorder arg for int.from_bytes()/to_bytes().
|
2016-12-09 22:53:30 +03:00 |
|
Damien George
|
dbc09d03f6
|
tests/basics: Enable tests for list slice getting with 3rd arg.
Also add a test to check case when 3rd arg is 0.
|
2016-11-26 16:39:25 +11:00 |
|
Damien George
|
4c3c515bd1
|
tests/basics: Change dict_fromkeys test so it doesn't use generators.
And then it can run with the native emitter.
|
2016-11-26 16:38:38 +11:00 |
|
Damien George
|
a4f96c8c2a
|
tests/basics: Add tests for if-expressions.
|
2016-11-26 16:15:31 +11:00 |
|
Damien George
|
a31a3a9fd5
|
tests/basics: Add test for dict.fromkeys where arg is a generator.
Improves coverage because it tests the case where the arg does not have a
__len__ slot.
|
2016-11-26 15:38:48 +11:00 |
|
Rami Ali
|
2eff9c29a1
|
tests/basics: Improve user class coverage.
|
2016-11-22 15:49:02 +11:00 |
|
Damien George
|
30bca45e1a
|
tests/basics: Add test for logical constant folding.
|
2016-11-15 16:48:49 +11:00 |
|
Fabio Utzig
|
8908e505ce
|
py/sequence: Fix reverse slicing of lists.
|
2016-10-30 15:54:19 -02:00 |
|
Alex March
|
964fb2450e
|
tests/basics/gc1: Garbage collector threshold() coverage.
|
2016-10-27 22:15:42 +03:00 |
|
Damien George
|
25c6fc731b
|
tests/basics: Add test for builtin "delattr".
|
2016-10-24 13:50:39 +11:00 |
|
Damien George
|
bc5b896f24
|
tests/basics/builtin_slice: Add test for "slice" builtin name.
|
2016-10-24 13:35:39 +11:00 |
|
Damien George
|
6caca3259f
|
tests: Add test to print full KeyError exc from failed dict lookup.
|
2016-10-17 12:01:18 +11:00 |
|
Damien George
|
e9404e5f5f
|
tests: Improve coverage of array, range, dict, slice, exc, unicode.
|
2016-10-17 11:43:47 +11:00 |
|
Damien George
|
5e22afce41
|
tests: Improve test coverage of py/compile.c.
|
2016-10-11 12:30:32 +11:00 |
|
Damien George
|
82af4d6749
|
tests: Improve coverage of struct with test for non-compliant behaviour.
|
2016-10-07 12:57:25 +11:00 |
|
Damien George
|
9f72a14920
|
tests/basics: Add test for printing OSError when errno is unknown.
|
2016-09-30 16:45:10 +10:00 |
|
Damien George
|
17b4509564
|
tests/basics: Add test constructing a set from a non-trivial expression.
|
2016-09-30 15:00:15 +10:00 |
|
Damien George
|
6cf2a3966e
|
tests/basics: Add further tests for nonlocal scoping and closures.
|
2016-09-30 14:20:55 +10:00 |
|
Damien George
|
b32c01b748
|
py/compile: Fix async-for/async-with to work with simpler exc on stack.
There is now just the exception instance on the stack when an exception is
raised, not the full (type, exc, traceback).
|
2016-09-28 11:52:13 +10:00 |
|
Damien George
|
443cc0114d
|
tests/basics: Add test for set.difference_update with arg being itself.
|
2016-09-28 11:10:27 +10:00 |
|
Damien George
|
2c7716fed0
|
py/objset: Ensure that use of frozenset.update raises an exception.
|
2016-09-28 11:06:18 +10:00 |
|
Damien George
|
3f0c1c2452
|
tests/basics: Add test case for overflowing Py stack in try-finally.
|
2016-09-27 12:46:50 +10:00 |
|
Paul Sokolovsky
|
60592fd23c
|
tests/array1: Add tests for "l", "L" array types to improve coverage.
|
2016-09-19 17:20:41 +03:00 |
|
Paul Sokolovsky
|
b85bcd671c
|
tests/struct1: Test "l" specifier to improve coverage.
|
2016-09-19 17:01:02 +03:00 |
|
Damien George
|
2b7c4a1878
|
tests/basics: Add errno1 test, to check basics of uerrno module.
|
2016-09-16 15:33:51 +10:00 |
|
Damien George
|
bb19e7b94b
|
tests/basics/special_methods: Enable tests for extra special methods.
These additional special methods are enabled on most ports so we can test
them in this test.
|
2016-08-17 12:38:19 +10:00 |
|
rguillon
|
ed6a1ada24
|
tests/basics: Add a test file for overriding special methods.
|
2016-08-17 12:11:32 +10:00 |
|
Damien George
|
095e43a9a5
|
py/sequence: Allow to use bignums as indices in slice objects.
See issue #2264.
|
2016-08-15 23:26:34 +10:00 |
|
Damien George
|
f6a8e84a25
|
tests/basics: Add test for break from within try within a for-loop.
|
2016-08-15 21:28:41 +10:00 |
|
Damien George
|
d5f42c9daf
|
tests/basics: Add more list tests to improve coverage testing.
|
2016-08-15 10:46:35 +10:00 |
|
Damien George
|
3c82d1d34b
|
tests/basics: Add more tuple tests to improve coverage testing.
|
2016-08-15 10:46:02 +10:00 |
|
Paul Sokolovsky
|
8897dcb2a1
|
tests/basics: bytes/str.partition/rpartition are now optional.
Skip tests if not available.
|
2016-08-07 22:14:34 +03:00 |
|
Paul Sokolovsky
|
6af90b2972
|
py/objstrunicode: str_index_to_ptr: Should handle bytes too.
There's single str_index_to_ptr() function, called for both bytes and
unicode objects, so should handle each properly.
|
2016-07-25 14:45:08 +03:00 |
|
Paul Sokolovsky
|
b652ee705b
|
tests/bytes_compare: Rework test for bytes <-> str comparison.
This may produce a warning, depending on MicroPython configuration.
|
2016-07-22 12:02:04 +03:00 |
|
Mark Anthony Palomer
|
deaf0712aa
|
tests: Add testcase for OrderedDict equality.
There's a need for .exp file because CPython renders OrderedDict's as:
OrderedDict([('b', 2)])
while MicroPython as:
OrderedDict({'b': 2})
|
2016-06-12 17:37:19 +03:00 |
|
Damien George
|
715ee9d925
|
py/modstruct: Allow to have "0s" in struct format.
|
2016-05-28 23:27:38 +01:00 |
|
Antonin ENFRUN
|
ca41dc2750
|
py/objnamedtuple: Allow passing field names as a tuple.
So the documentation's example works. Besides, a tuple can be more
memory efficient.
|
2016-05-23 21:08:07 +01:00 |
|
Paul Sokolovsky
|
53bac8e869
|
tests: Add testcase for str.center().
|
2016-05-22 00:18:53 +03:00 |
|
Paul Sokolovsky
|
719f8c044a
|
tests/struct1: Add testcase for an unknown type char.
|
2016-05-14 15:54:09 +03:00 |
|
Damien George
|
1e2f829293
|
tests/basics/string_splitlines: Reinstate feature test for splitlines.
|
2016-05-13 13:11:22 +01:00 |
|