@pytest.mark.parametrize('bufsize', [1.0, None, object(), 'bufsize'])
def test_bio_read_wrong_args(self, bufsize):
    '\n        `Connection.bio_read` raises `TypeError` if passed a non-integer\n        argument.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    with pytest.raises(TypeError):
        conn.bio_read(bufsize)
`Connection.bio_read` raises `TypeError` if passed a non-integer
argument.
@pytest.mark.parametrize('bufsize', [1.0, None, object(), 'bufsize'])
def test_bio_read_wrong_args(self, bufsize):
    '\n        `Connection.bio_read` raises `TypeError` if passed a non-integer\n        argument.\n        '
    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    with pytest.raises(TypeError):
        conn.bio_read(bufsize)