def _no_length_test(self, factory):
    '\n        Assert that when the given buffer is passed to `Connection.recv_into`,\n        whatever bytes are available to be received that fit into that buffer\n        are written into that buffer.\n        '
    output_buffer = factory(5)
    (server, client) = loopback()
    server.send(b'xy')
    assert (client.recv_into(output_buffer) == 2)
    assert (output_buffer == bytearray(b'xy\x00\x00\x00'))
Assert that when the given buffer is passed to `Connection.recv_into`,
whatever bytes are available to be received that fit into that buffer
are written into that buffer.
def _no_length_test(self, factory):
    '\n        Assert that when the given buffer is passed to `Connection.recv_into`,\n        whatever bytes are available to be received that fit into that buffer\n        are written into that buffer.\n        '
    output_buffer = factory(5)
    (server, client) = loopback()
    server.send(b'xy')
    assert (client.recv_into(output_buffer) == 2)
    assert (output_buffer == bytearray(b'xy\x00\x00\x00'))