File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,7 +288,8 @@ def test_mismatch(self):
288288 When an intent isn't expected, a :obj:`IntentMismatchError` is raised.
289289 """
290290 d = SequenceDispatcher ([('foo' , lambda i : 1 / 0 )])
291- e = self .assertRaises (IntentMismatchError , lambda : sync_perform (d , Effect ('hello' )))
291+ e = self .assertRaises (IntentMismatchError ,
292+ lambda : sync_perform (d , Effect ('hello' )))
292293 self .assertEqual (e .expected_intent , 'foo' )
293294 self .assertEqual (e .got_intent , 'hello' )
294295
Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ def __call__(self, intent):
245245 return sync_performer (lambda d , i : v (i ))
246246
247247
248-
249248class IntentMismatchError (Exception ):
250249 def __init__ (self , expected_intent , got_intent ):
251250 self .expected_intent = expected_intent
You can’t perform that action at this time.
0 commit comments