From 8c3866a94857c10721db6edb98bb6e8448c53ab4 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sun, 12 Apr 2026 19:40:32 +0200 Subject: [PATCH] Bug fix: remove invalid test cases --- .../test_PythonASTArgumentsListParser.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/unit/core/python/arguments/test_PythonASTArgumentsListParser.py b/tests/unit/core/python/arguments/test_PythonASTArgumentsListParser.py index 1efd6a7..036349f 100644 --- a/tests/unit/core/python/arguments/test_PythonASTArgumentsListParser.py +++ b/tests/unit/core/python/arguments/test_PythonASTArgumentsListParser.py @@ -207,22 +207,6 @@ def argument_list(argument_list: str) -> ast.arguments: PythonFunctionArgument('d', PythonArgumentKind.KEYWORD_ONLY, None, None), PythonFunctionArgument('kwargs', PythonArgumentKind.KWARGS, None, None), ]), - (argument_list('a = 1, b , /, *args, c = None, d, **kwargs'), [ - PythonFunctionArgument('a', PythonArgumentKind.POSITIONAL_ONLY, '1', None), - PythonFunctionArgument('b', PythonArgumentKind.POSITIONAL_ONLY, None, None), - PythonFunctionArgument('args', PythonArgumentKind.VARARG, None, None), - PythonFunctionArgument('c', PythonArgumentKind.KEYWORD_ONLY, 'None', None), - PythonFunctionArgument('d', PythonArgumentKind.KEYWORD_ONLY, None, None), - PythonFunctionArgument('kwargs', PythonArgumentKind.KWARGS, None, None), - ]), - (argument_list('a = 1, b , /, *args, c = None, d = False, **kwargs'), [ - PythonFunctionArgument('a', PythonArgumentKind.POSITIONAL_ONLY, '1', None), - PythonFunctionArgument('b', PythonArgumentKind.POSITIONAL_ONLY, None, None), - PythonFunctionArgument('args', PythonArgumentKind.VARARG, None, None), - PythonFunctionArgument('c', PythonArgumentKind.KEYWORD_ONLY, 'None', None), - PythonFunctionArgument('d', PythonArgumentKind.KEYWORD_ONLY, 'False', None), - PythonFunctionArgument('kwargs', PythonArgumentKind.KWARGS, None, None), - ]), (argument_list('a = 1'), [ PythonFunctionArgument('a', PythonArgumentKind.NORMAL, '1', None) ]),