test_transit: use better error in Accumulator
apparently this was broken before, but never got triggered
This commit is contained in:
parent
085b28f97d
commit
6369c17595
|
@ -26,7 +26,7 @@ class Accumulator(protocol.Protocol):
|
|||
d.callback(self)
|
||||
def connectionLost(self, why):
|
||||
if self._wait:
|
||||
self._wait.errback("closed")
|
||||
self._wait.errback(RuntimeError("closed"))
|
||||
|
||||
class Transit(ServerBase, unittest.TestCase):
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in New Issue
Block a user