def setUp(self): self.tfile = os.tmpfile() self.cur_year = datetime.date.today().year self.cur_year_str = str(self.cur_year)