':py:obj:`Context.check_privatekey` raises :py:obj:`TypeError` if called
with other than no arguments.'

def test_check_privatekey_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.check_privatekey, object())
