Skip to content

Commit

Permalink
Forgot to transfer some args.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldemarmiesse committed Jul 19, 2019
1 parent e9350d3 commit c782812
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions tests/test_config/test_signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@ def onlykwrgs(**kwargs):
'_name_with_underscore_', '__double_underscore__', 'old_name',
'old_name']

arguments = [[], ['a', 'b', 'c'], ['a', 'b', 'c'], ['a', 'b', 'c'],
arguments = [[], ['a', 'b', 'c'], ['a', 'b', 'c'],
['fo', 'bar'], ['man', 'o'], ['verylongvariablename'],
['verylongvariablename']]

vararg_names = [None, None, None, None, 'baz', 'men', None, None]

kw_wc_names = [None, None, None, 'kwargs', None, 'oo', None, None]

pos_arguments = [[], ['a', 'b', 'c'], [], ['a', 'b'], ['fo', 'bar'],
pos_arguments = [[], ['a', 'b', 'c'], [], ['fo', 'bar'],
['man', 'o'], ['verylongvariablename'],
['verylongvariablename']]

kwarg_list = [{}, {}, {'a': 1, 'b': 'fo', 'c': 9}, {'c': 3}, {}, {}, {}, {}]
kwarg_list = [{}, {}, {'a': 1, 'b': 'fo', 'c': 9}, {}, {}, {}, {}]


class SomeClass(object):
Expand Down
10 changes: 5 additions & 5 deletions tests/test_config/test_signature_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ def kwonly_args(a, *, b, c=10):

names = ['foo', 'bariza', 'complex_function_name', 'FunCTIonWithCAPItals', 'kwonly_args']

arguments = [[], ['a', 'b', 'c'], ['a', 'b', 'c'], ['a', 'b', 'c']]
arguments = [[], ['a', 'b', 'c'], ['a', 'b', 'c'], ['a', 'b', 'c'], ['a', 'b', 'c']]

vararg_names = [None, None, None, None]
vararg_names = [None, None, None, None, None]

kw_wc_names = [None, None, None, None]
kw_wc_names = [None, None, None, 'kwargs', None]

pos_arguments = [[], ['a', 'b', 'c'], [], ['a']]
pos_arguments = [[], ['a', 'b', 'c'], [], ['a', 'b'], ['a']]

kwarg_list = [{}, {}, {'a': 5, 'b': 'fo', 'c': 9}, {'c': 10}]
kwarg_list = [{}, {}, {'a': 5, 'b': 'fo', 'c': 9}, {'c': 3}, {'c': 10}]


class SomeClass(object):
Expand Down

0 comments on commit c782812

Please sign in to comment.