'Make a valid python temp file.'

def setUp(self):

    lines = ['import    sys', "print('on    stdout',    end='',    file=sys.stdout)", "print('on    stderr',    end='',    file=sys.stderr)", 'sys.stdout.flush()', 'sys.stderr.flush()']
    self.mktmp('\n'.join(lines))
