mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests/cpydiff/core_arguments: Move under Functions subsection.
This is the last "orphan" case.
This commit is contained in:
10
tests/cpydiff/core_function_argcount.py
Normal file
10
tests/cpydiff/core_function_argcount.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""
|
||||
categories: Core,Functions
|
||||
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.
|
||||
"""
|
||||
try:
|
||||
[].append()
|
||||
except Exception as e:
|
||||
print(e)
|
||||
Reference in New Issue
Block a user