'The C{repr()} of a L{Deferred} contains the class name and a
representation of the internal Python ID.'

def test_repr(self):

    d = defer.Deferred()
    address = id(d)
    self.assertEqual(repr(d), ('<Deferred    at    0x%x>' % (address,)))
