We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ed3a80 commit bf2e58fCopy full SHA for bf2e58f
1 file changed
unpythonic/typecheck.py
@@ -338,8 +338,7 @@ def iscollection(statictype, runtimetype):
338
# return False
339
# return True
340
except TypeError: # probably one of those meta-utilities that hates issubclass.
341
- # assert False # this is a good idea while debugging the type checker.
342
- pass
+ raise # DEBUG
343
344
# Catch any `typing` meta-utilities we don't currently support.
345
if hasattr(T, "__module__") and T.__module__ == "typing":
0 commit comments