add param tests

This commit is contained in:
yanyongyu
2021-12-20 14:31:48 +08:00
parent 6968d34fc2
commit 0d24a79840
4 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,6 @@
from typing import Union
async def exc(e: Exception, x: Union[ValueError, TypeError]) -> Exception:
assert e == x
return e