We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a691df commit 3fd2c6dCopy full SHA for 3fd2c6d
1 file changed
effect/testing.py
@@ -190,6 +190,7 @@ def __init__(self, mapping):
190
self.mapping = mapping
191
192
def __call__(self, intent):
193
+ # Avoid hashing, because a lot of intents aren't hashable.
194
for k, v in self.mapping.items():
195
if k == intent:
196
return sync_performer(lambda d, i: v)
0 commit comments