Skip to content

Commit 662966a

Browse files
committed
Add commented-out assert for debugging type checker
1 parent 8882d8a commit 662966a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpythonic/typecheck.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def iscollection(statictype, runtimetype):
257257
# return False
258258
# return True
259259
except TypeError: # probably one of those meta-utilities that hates issubclass.
260+
# assert False # this is a good idea while debugging the type checker.
260261
pass
261262

262263
# Catch any `typing` meta-utilities we don't currently support.

0 commit comments

Comments
 (0)