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