def test_getHost(self):
        host, portNumber = findFreePort(type=SOCK_DGRAM)
        reactor = self.buildReactor()
        port = reactor.listenUDP(
            portNumber, DatagramProtocol(), interface=host)
        self.assertEqual(
            port.getHost(), IPv4Address('UDP', host, portNumber))
Create a new :class:`.Table` with only those rows that pass a test.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_udp.py/UDPServerTestsBuilder.test_getHost--crossover with--dataset/ETHPy150Open wireservice/agate/agate/table/where.py/where