We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03012f commit ff2185eCopy full SHA for ff2185e
1 file changed
effect/test_fold.py
@@ -75,7 +75,7 @@ def test_sequence():
75
eff = sequence(effs)
76
77
with dispatcher.consume():
78
- result = sync_perform(_disp(dispatcher), eff)
+ result = sync_perform(_base_and(dispatcher), eff)
79
assert result == ['Ei', 'Bee', 'Cee']
80
81
@@ -99,7 +99,7 @@ def test_sequence_error():
99
100
101
with raises(FoldError) as excinfo:
102
- sync_perform(_disp(dispatcher), eff)
+ sync_perform(_base_and(dispatcher), eff)
103
assert excinfo.value.accumulator == ['Ei']
104
assert excinfo.value.wrapped_exception[0] is ZeroDivisionError
105
assert str(excinfo.value.wrapped_exception[1]) == 'foo'
0 commit comments