def METHOD_NAME(self):
    timeval = time.mktime((2011, 1, 1, 18, 0, 0, 6, 1, 0))
    string = utils.formatdate(timeval, localtime=True)
    self.assertEqual(string, 'Sat, 01 Jan 2011 18:00:00 +0200')
    # Minsk moved from +0200 (with DST) to +0300 (without DST) in 2011
    timeval = time.mktime((2011, 12, 1, 18, 0, 0, 4, 335, 0))
    string = utils.formatdate(timeval, localtime=True)
    self.assertEqual(string, 'Thu, 01 Dec 2011 18:00:00 +0300')