@skip_if_py3
def test_short_buffers(self):
    '\n        When passed a buffer containing a small number of bytes,\n        `Connection.sendall` transmits all of them.\n        '
    (server, client) = loopback()
    server.sendall(buffer(b'x'))
    assert (client.recv(1) == b'x')
When passed a buffer containing a small number of bytes,
`Connection.sendall` transmits all of them.
@skip_if_py3
def test_short_buffers(self):
    '\n        When passed a buffer containing a small number of bytes,\n        `Connection.sendall` transmits all of them.\n        '
    (server, client) = loopback()
    server.sendall(buffer(b'x'))
    assert (client.recv(1) == b'x')