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

def test_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.set_tlsext_servername_callback)
    self.assertRaises(TypeError, context.set_tlsext_servername_callback, 1, 2)
