def _eintr_read_handler(self, fileno, events):
        self.assertEqual(events, READ)
        sock = socket.fromfd(fileno, socket.AF_INET, socket.SOCK_STREAM)
        mesg = sock.recv(256)
        self.assertEqual(mesg, self.MSG_CONTENT)
        self.poller.stop()
        self._eintr_read_handler_is_called = True
Read from within poll loop that gets receives eintr error.
dataset/ETHPy150Open pika/pika/tests/unit/select_connection_ioloop_tests.py/IOLoopEintrTestCaseSelect._eintr_read_handler