'An L{InvalidAddressError} is raised when trying to listen on an address
that isn\'t a valid IPv4 or IPv6 address.'

def test_invalidInterface(self):

    reactor = self.buildReactor()
    self.assertRaises(error.InvalidAddressError, reactor.listenUDP, DatagramProtocol(), 0, interface='example.com')
