summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cpydiff/modules_json_nonserializable.py
Commit message (Collapse)AuthorAge
* all: Upgrade to ruff v0.9.6.Christian Clauss2025-02-25
| | | | Signed-off-by: Christian Clauss <cclauss@me.com>
* tests/cpydiff: Fix test case for modules_json_nonserializable.Jeff Epler2024-11-11
| | | | | | | | | | | | | | | | The test case was producing the following error: Traceback (most recent call last): File "<stdin>", line 12, in <module> UnicodeError: which did not demonstrate the intended difference (this particular non-json-serializable object DID throw an exception! just not TypeError). The updated test uses a byte string with all ASCII bytes inside, which better illustrates the diference. Signed-off-by: Jeff Epler <jepler@gmail.com>
* tests: Format all Python code with black, except tests in basics subdir.David Lechner2020-03-30
| | | | | | | | | | This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
* tests/cpydiff: Add initial set of tests for uPy-CPython differences.Rami Ali2017-02-20
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.