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

def test_total_renegotiations_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), None)
    self.assertRaises(TypeError, connection.total_renegotiations, None)
