def test_use_certificate_chain_file_wrong_args(self):
    '\n        `Context.use_certificate_chain_file` raises `TypeError` if passed a\n        non-byte string single argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.use_certificate_chain_file(object())
`Context.use_certificate_chain_file` raises `TypeError` if passed a
non-byte string single argument.
def test_use_certificate_chain_file_wrong_args(self):
    '\n        `Context.use_certificate_chain_file` raises `TypeError` if passed a\n        non-byte string single argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.use_certificate_chain_file(object())