generated from jCloud/repository-template
Bug fix: remove invalid test cases
This commit is contained in:
@@ -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)
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user