Skip to content

Commit 2aa0d27

Browse files
committed
More tests
1 parent 6756b80 commit 2aa0d27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utest/test_get_keyword_types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,7 @@ def test_kw_with_named_arguments(lib_types: DynamicTypesAnnotationsLibrary):
202202
def test_kw_with_many_named_arguments_with_default(lib_types: DynamicTypesAnnotationsLibrary):
203203
types = lib_types.get_keyword_types("kw_with_many_named_arguments_with_default")
204204
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

Comments
 (0)