Damien George
218a876f97
tests/basics/builtin_range: Add tests for negative slicing of range.
2017-05-18 17:32:42 +10:00
Damien George
e1b0f2a16f
tests/basics/list_slice_3arg: Add more tests for negative slicing.
2017-05-18 17:32:42 +10:00
Tom Collins
162a0f942b
tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object.
2017-05-15 23:58:06 +03:00
Paul Sokolovsky
054a381d7c
tests/extmod/vfs_fat_more: Make skippable is uos is not available.
...
Fixes Zephyr tests.
2017-05-13 14:13:53 +03:00
Damien George
cda09727b4
tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.
2017-05-13 19:10:15 +10:00
Tom Collins
760aa0996f
tests/basics/lexer: Add line continuation tests for lexer.
...
Tests for an issue with line continuation failing in paste mode due to the
lexer only checking for \n in the "following" character position, before
next_char() has had a chance to convert \r and \r\n to \n.
2017-05-12 15:14:25 +10:00
Damien George
852c215d76
tests/extmod/vfs: Update tests to reflect new ilistdir() method.
2017-05-10 11:39:29 +10:00
Damien George
9bd67d9fbc
tests/extmod: Make some vfs tests fully unmount FSs before running.
...
Otherwise the existing FSs can interfere with the tests, and in some
cases the tests can write to the real FS on the device.
2017-05-09 15:50:40 +10:00
Tom Collins
d00d062af2
tests/basics/lexer: Add lexer tests for input starting with newlines.
2017-05-09 14:48:00 +10:00
Damien George
e711e2d44a
tests/basics: Add memoryview test for big ints.
2017-05-09 10:49:19 +10:00
Damien George
2e9e14980d
tests/basics: Update array test for big-int with lL typecodes.
2017-05-09 10:46:43 +10:00
Paul Sokolovsky
4a4490ffcc
py/modio: resource_stream: Implement "package" param handling.
2017-05-06 18:42:35 +03:00
Damien George
084824f866
tests: Move super-as-local test from cpydiff to basic tests.
...
It's now possible to use the name "super" as a local variable.
2017-05-06 11:01:57 +10:00
Damien George
dce7dd4259
tests/micropython: Add test for int.from_bytes with many zero bytes.
2017-05-06 10:29:09 +10:00
Damien George
1b3e372418
tests/extmod: Add some more VFS tests.
2017-05-05 20:15:10 +10:00
Damien George
6c8b57a902
tests/extmod: Add more tests for VFS FAT.
2017-05-05 20:15:10 +10:00
Paul Sokolovsky
12ea06567c
tests/cpydiff/core_function_unpacking: Fill in workaround.
2017-05-04 00:48:48 +03:00
Paul Sokolovsky
92657c671f
tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages.
2017-05-03 17:16:19 +03:00
Paul Sokolovsky
3923f96dc6
tests/cpydiff/core_import_path: Test showing difference in package.__path__.
2017-05-03 12:22:53 +03:00
Paul Sokolovsky
7d4ba9d257
tests/io/resource_stream: Add test for uio.resource_stream().
2017-05-03 01:47:14 +03:00
Paul Sokolovsky
c1b19115e5
tests/cpydiff/core_import_prereg: Fill in cause and workaround.
2017-05-02 14:12:52 +03:00
Paul Sokolovsky
8bb84cc627
tests/cpydiff/core_function_userattr: Clarify, fill in cause and workaround.
2017-05-02 03:43:21 +03:00
Paul Sokolovsky
58ecbc7752
tests/cpydiff/core_arguments: Fill in cause/workaround.
2017-05-02 03:36:47 +03:00
Damien George
810133d97d
tests/basics: Add tests for int.from_bytes when src has trailing zeros.
...
The trailing zeros should be truncated from the converted value.
2017-04-25 12:07:02 +10:00
Damien George
30badd1ce1
tests: Add tests for calling super and loading a method directly.
2017-04-22 23:39:38 +10:00