Пример #1
0
def main(args=None, config=None):
  """The interactive application loop."""
  coshell = interactive_coshell.Coshell()
  try:
    Application(
        args=args,
        coshell=coshell,
        config=config,
        debug=interactive_debug.Debug(),
    ).Loop()
  finally:
    status = coshell.Close()
  sys.exit(status)
Пример #2
0
 def SetUp(self):
     self.debug = debug.Debug()
     self._time = 1234.5678
     self._time_increment = 0.1