Closed kevinboulain closed 7 years ago
I will investigate it. Thanks.
It should technically work, though. The exception message test for tuples is passing. It seems like another corner case is identified.
I pushed a patch to the dev. Please confirm if you are still experiencing this type of issues.
Well, I will close this issue for now as it seems fixed to me. Please open another issue if you find something else.
Hi there.
You seems to be quite reactive (#39) so I'll bother you with a nitpick as I was testing a couple of type-checking libraries the other day.
Here is the simple script:
As you can see with the comments, for
example2
/dict
the error message is quite clear. Forexample1
/tuple
the message lacks a bit of precision.It could be nice to introspect the passed tuple here but it's not clear for me why
nodes.TupleNode.validate_data
usesinput_type.__name__
astype_name
instead of relying on something likeget_actual_data_type
.