Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/cpydiff/core_function_argcount.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
293 B
Python
Raw Normal View History

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.
2017-02-07 15:55:37 +11:00
"""
tests/cpydiff/core_arguments: Move under Functions subsection. This is the last "orphan" case.
2017-07-09 13:36:28 +03:00
categories: Core,Functions
tests/cpydiff/core_arguments: Fill in cause/workaround.
2017-05-02 03:36:17 +03:00
description: Error messages for methods may display unexpected argument counts
cause: MicroPython counts "self" as an argument.
workaround: Interpret error messages with the information above in mind.
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.
2017-02-07 15:55:37 +11:00
"""
try:
[].append()
except Exception as e:
print(e)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 68ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API