Using the `**` notation is not conventional in Python.  Do this instead:

    self.build_problem(demo="true")