def on_channel_read(self, handle, data, pending, error):
    self.assertEqual(pending, pyuv.UV_NAMED_PIPE)
    self.recv_pipe = pyuv.Pipe(self.loop)
    self.channel.accept(self.recv_pipe)
    self.channel.close()
    self.send_pipe.close()
    self.recv_pipe.close()
def on_channel_read(self, handle, data, pending, error):
    self.assertEqual(pending, pyuv.UV_NAMED_PIPE)
    self.recv_pipe = pyuv.Pipe(self.loop)
    self.channel.accept(self.recv_pipe)
    self.channel.close()
    self.send_pipe.close()
    self.recv_pipe.close()