'Test to make sure the errbacks cannot cause the iteration of the
iqDeferreds to blow up in our face.'

def testNoModifyingDict(self):

    def eb(failure):
        d = xmlstream.IQ(self.xmlstream).send()
        d.addErrback(eb)
    d = self.iq.send()
    d.addErrback(eb)
    self.xmlstream.connectionLost('Closed    by    peer')
    return d
