| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
| |
CPython 3.6 has a few changes that, when run on uPy's test suite, give a
different output to CPython 3.5. uPy currently officially supports the
3.4 language definition, but it's useful to be able to run the test suite
with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to
support 3.6.
|
| |
|
|
|
|
| |
set isn't the most basic type and can be disabled by a port.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also add a test to check case when 3rd arg is 0.
|
|
|
|
| |
And then it can run with the native emitter.
|
| |
|
|
|
|
|
| |
Improves coverage because it tests the case where the arg does not have a
__len__ slot.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There is now just the exception instance on the stack when an exception is
raised, not the full (type, exc, traceback).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
These additional special methods are enabled on most ports so we can test
them in this test.
|
| |
|
|
|
|
| |
See issue #2264.
|
| |
|
| |
|
| |
|
|
|
|
| |
Skip tests if not available.
|
|
|
|
|
| |
There's single str_index_to_ptr() function, called for both bytes and
unicode objects, so should handle each properly.
|