def test_16899(self):
        if not self.tz_tests:
            return
        ts = 1289106000
        # Midnight at the end of DST in US/Eastern: 2010-11-07T05:00:00Z
        dt = datetime.datetime.utcfromtimestamp(ts)
        # US/Eastern -- we force its representation to "EST"
        tz = LocalTimezone(dt + datetime.timedelta(days=1))
        self.assertEqual(
                repr(datetime.datetime.fromtimestamp(ts - 3600, tz)),
                'datetime.datetime(2010, 11, 7, 0, 0, tzinfo=EST)')
        self.assertEqual(
                repr(datetime.datetime.fromtimestamp(ts, tz)),
                'datetime.datetime(2010, 11, 7, 1, 0, tzinfo=EST)')
        self.assertEqual(
                repr(datetime.datetime.fromtimestamp(ts + 3600, tz)),
                'datetime.datetime(2010, 11, 7, 1, 0, tzinfo=EST)')
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/utils/tzinfo.py/TzinfoTests.test_16899/original