':py:obj:`Context.set_app_data` raises :py:obj:`TypeError` if called with other than
one argument.'

def test_set_app_data_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.set_app_data)
    self.assertRaises(TypeError, context.set_app_data, None, None)
