You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, but I cannot reproduce this issue. However, I did not test with Python 3.6.8 specifically, but before I undertake the hassle to setup this specific version on my system I would like to exclude other possible causes (because I somewhat doubt that Python 3.6.8 is the cause).
If I run
from pytypes import typechecked
from typing import List, Dict
@typechecked
def func(x: List[Dict[str, str]]):
pass
x = [
{
'a': 'a'
}
]
func(x=7)
that works as expected. What do you mean by "unittest"? What tests do you refer to?
Anyway, please post an entire runnable code snippet you think that fails, e.g. similar to that I posted above. If there's more to it than just running python file.py, please describe how to run it such that it fails.
What version of pytypes are you using?
environment
function definition
test with unittest
raise error
why this error raised??
i'm hard to find the reason
The text was updated successfully, but these errors were encountered: