'Socket reads with some good data followed by a socket error which can
be ignored causes reading to stop, and no log messages to be logged.'

def test_socketReadNormal(self):

    udp._sockErrReadIgnore.append((-7000))
    self.addCleanup(udp._sockErrReadIgnore.remove, (-7000))
    protocol = KeepReads()
    port = udp.Port(None, protocol)
    port.socket = StringUDPSocket(['result', '123', socket.error((-7000)), '456', socket.error((-7000))])
    port.doRead()
    self.assertEqual(protocol.reads, ['result', '123'])
    port.doRead()
    self.assertEqual(protocol.reads, ['result', '123', '456'])
