':py:obj:`Connection.get_session` raises :py:obj:`TypeError` if called
with any arguments.'

def test_get_session_wrong_args(self):

    ctx = Context(TLSv1_METHOD)
    server = Connection(ctx, None)
    self.assertRaises(TypeError, server.get_session, 123)
    self.assertRaises(TypeError, server.get_session, 'hello')
    self.assertRaises(TypeError, server.get_session, object())
