We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6756b80 commit 2aa0d27Copy full SHA for 2aa0d27
utest/test_get_keyword_types.py
@@ -202,3 +202,7 @@ def test_kw_with_named_arguments(lib_types: DynamicTypesAnnotationsLibrary):
202
def test_kw_with_many_named_arguments_with_default(lib_types: DynamicTypesAnnotationsLibrary):
203
types = lib_types.get_keyword_types("kw_with_many_named_arguments_with_default")
204
assert types == {'arg2': int}
205
+ types = lib_types.get_keyword_types("kw_with_positional_and_named_arguments_with_defaults")
206
+ assert types == {"arg1": int, "arg2": str}
207
+ types = lib_types.get_keyword_types("kw_with_positional_and_named_arguments")
208
+ assert types == {"arg2": int}
0 commit comments