Skip to content

Commit a9d9f3c

Browse files
committed
perform(dispatcher, effect), not the other way around.
1 parent 832f8a3 commit a9d9f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

effect/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class SequenceDispatcher(object):
261261
])
262262
263263
with sequence.consume():
264-
perform(eff, sequence)
264+
perform(sequence, eff)
265265
266266
It's important to use `with sequence.consume():` to ensure that all of the
267267
intents are performed. Otherwise, if your code has a bug that causes it to

0 commit comments

Comments
 (0)