def test_add_extra_chain_cert_invalid_cert(self):
        context = Context(TLSv1_METHOD)
        self.assertRaises(TypeError, context.add_extra_chain_cert)
        self.assertRaises(TypeError, context.add_extra_chain_cert, object())
        self.assertRaises(TypeError, context.add_extra_chain_cert, object(), object())
:py:obj:`Context.add_extra_chain_cert` raises :py:obj:`TypeError` if called with
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ContextTests.test_add_extra_chain_cert_invalid_cert