def test_wantReadError(self):
    '\n        `Connection.bio_read` raises `OpenSSL.SSL.WantReadError` if there are\n        no bytes available to be read from the BIO.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    with pytest.raises(WantReadError):
        conn.bio_read(1024)
`Connection.bio_read` raises `OpenSSL.SSL.WantReadError` if there are
no bytes available to be read from the BIO.
def test_wantReadError(self):
    '\n        `Connection.bio_read` raises `OpenSSL.SSL.WantReadError` if there are\n        no bytes available to be read from the BIO.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    with pytest.raises(WantReadError):
        conn.bio_read(1024)