Damien George
2ada1124d4
tests/cpydiff: Remove types_int_tobytesfloat now that it doesn't fail.
Commit e269cabe3e
added a check that the
first argument to the to_bytes() method is an integer, and now uPy
follows CPython behaviour and raises a TypeError for this test.
Note: CPython checks the argument types before checking the number of
arguments, but uPy does it the other way around, so they give different
exception messages for this test, but still the same type, a TypeError.
7 years ago
Damien George
74ab341d3a
tests/cpydiff: Remove working cases from types_float_rounding.
7 years ago
Damien George
cd9d71edc8
tests/cpydiff: Remove types_str_decodeerror now that it succeeds.
Commit 68c28174d0
implemented checking for
valid utf-8 data.
7 years ago
Damien George
4b5111f8e1
tests/cpydiff: Remove core_function_unpacking now that it succeeds.
Commit 1e70fda69f
fixes this difference.
7 years ago
Damien George
c926e72750
tests/cpydiff: Indent workaround code snippet so it formats correctly.
7 years ago
Damien George
e4e3f0d727
tests/cpydiff: Update subclassing Exception case and give work-around.
7 years ago
Paul Sokolovsky
3c483842db
tests/cpydiff: Fix markup where "`" (xref) was used instead of "``" (code).
7 years ago
Damien George
63f47104fe
tests/cpydiff: Add difference-test for second arg of builtin next().
7 years ago
Paul Sokolovsky
75163325ae
tests/cpydiff: Add cases for locals() discrepancies.
MicroPython doesn't maintain local symbolic environment, so any feature
depending on it won't work as expected.
7 years ago
Paul Sokolovsky
ad3abcd324
tests/cpydiff: Add case for str.ljust/rjust.
7 years ago
Paul Sokolovsky
0c5369a1f0
tests/cpydiff/: Improve wording, add more workarounds.
7 years ago
Paul Sokolovsky
5f65ad8c96
tests/cpydiff/core_class_supermultiple: Same cause as core_class_mro.
7 years ago
Paul Sokolovsky
c5efb8159f
tests/cpydiff/core_arguments: Move under Functions subsection.
This is the last "orphan" case.
7 years ago
Paul Sokolovsky
b2979023ac
tests/cpydiff/core_class_mro: Move under Classes, add workaround.
7 years ago
Paul Sokolovsky
ed52955c6b
tests/cpydiff/modules_deque: Elaborate workaround.
7 years ago
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.
8 years ago
Paul Sokolovsky
12ea06567c
tests/cpydiff/core_function_unpacking: Fill in workaround.
8 years ago
Paul Sokolovsky
92657c671f
tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages.
8 years ago
Paul Sokolovsky
3923f96dc6
tests/cpydiff/core_import_path: Test showing difference in package.__path__.
8 years ago
Paul Sokolovsky
c1b19115e5
tests/cpydiff/core_import_prereg: Fill in cause and workaround.
8 years ago
Paul Sokolovsky
8bb84cc627
tests/cpydiff/core_function_userattr: Clarify, fill in cause and workaround.
8 years ago
Paul Sokolovsky
58ecbc7752
tests/cpydiff/core_arguments: Fill in cause/workaround.
8 years ago
Damien George
465a604547
tests/cpydiff: Add a test for storing iterable to a list slice.
8 years ago
Rami Ali
86c7507233
tests/cpydiff: Add initial set of tests for uPy-CPython differences.
These tests are intended to fail, as they provide a programatic record of
differences between uPy and CPython. They also contain a special comment
at the start of the file which has meta-data describing the difference,
including known causes and known workarounds.
8 years ago