def setUp(self): self.raw_input_holder = __builtin__.raw_input self.stdout = sys.stdout sys.stdout = self.buf = StringIO.StringIO()