'Read from within poll loop that gets receives eintr error.'

def _eintr_read_handler(self, fileno, events):

    self.assertEqual(events, READ)
    sock = socket.fromfd(os.dup(fileno), socket.AF_INET, socket.SOCK_STREAM)
    self.addCleanup(sock.close)
    mesg = sock.recv(256)
    self.assertEqual(mesg, self.MSG_CONTENT)
    self.poller.stop()
    self._eintr_read_handler_is_called = True
