Skip to content

Commit e36501f

Browse files
committed
oops, add forgotten test cases
1 parent 23c7882 commit e36501f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unpythonic/tests/test_fun.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ def t():
138138
with testset("partial (type-checking wrapper)"):
139139
def nottypedfunc(x):
140140
return "ok"
141+
test[returns_normally(partial(nottypedfunc, 42))]
142+
test[returns_normally(partial(nottypedfunc, "abc"))]
143+
141144
def typedfunc(x: int):
142145
return "ok"
143146
test[returns_normally(partial(typedfunc, 42))]

0 commit comments

Comments
 (0)