We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9344b commit 3d18f7dCopy full SHA for 3d18f7d
fakeredis/_tcp_server.py
@@ -66,7 +66,7 @@ def load(self) -> Any:
66
67
68
_EXCEPTION_PREFIX_MAP: Dict[Exception, str] = {
69
- v: k for k, v in DefaultParser.EXCEPTION_CLASSES.items() if v is not dict
+ v: k for k, v in DefaultParser.EXCEPTION_CLASSES.items() if type(v) is not dict
70
}
71
72
0 commit comments