def test_set_cipher_list_no_cipher_match(self, context):
    '\n        `Context.set_cipher_list` raises `OpenSSL.SSL.Error` with a\n        `"no cipher match"` reason string regardless of the TLS\n        version.\n        '
    with pytest.raises(Error) as excinfo:
        context.set_cipher_list(b'imaginary-cipher')
    assert (excinfo.value.args == ([('SSL routines', 'SSL_CTX_set_cipher_list', 'no cipher match')],))
`Context.set_cipher_list` raises `OpenSSL.SSL.Error` with a
`"no cipher match"` reason string regardless of the TLS
version.
def test_set_cipher_list_no_cipher_match(self, context):
    '\n        `Context.set_cipher_list` raises `OpenSSL.SSL.Error` with a\n        `"no cipher match"` reason string regardless of the TLS\n        version.\n        '
    with pytest.raises(Error) as excinfo:
        context.set_cipher_list(b'imaginary-cipher')
    assert (excinfo.value.args == ([('SSL routines', 'SSL_CTX_set_cipher_list', 'no cipher match')],))