From c5efb8159f7bd2aee3aa80412f5c1a3f52f0e812 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 9 Jul 2017 13:36:28 +0300 Subject: tests/cpydiff/core_arguments: Move under Functions subsection. This is the last "orphan" case. --- tests/cpydiff/core_arguments.py | 10 ---------- tests/cpydiff/core_function_argcount.py | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 tests/cpydiff/core_arguments.py create mode 100644 tests/cpydiff/core_function_argcount.py (limited to 'tests') diff --git a/tests/cpydiff/core_arguments.py b/tests/cpydiff/core_arguments.py deleted file mode 100644 index 4734a8062..000000000 --- a/tests/cpydiff/core_arguments.py +++ /dev/null @@ -1,10 +0,0 @@ -""" -categories: Core -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) diff --git a/tests/cpydiff/core_function_argcount.py b/tests/cpydiff/core_function_argcount.py new file mode 100644 index 000000000..5f3dca4dc --- /dev/null +++ b/tests/cpydiff/core_function_argcount.py @@ -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) -- cgit v1.2.3