| Age | Commit message (Collapse) | Author |
|
|
|
response.
|
|
|
|
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.
|
|
This may produce a warning, depending on MicroPython configuration.
|