def testPDTChange(self):
            # PDT switch happens at 2AM on March 14, 2010

            # 1:59AM PST
            self.assertEqual(rfc3339(datetime.datetime(2010, 3, 14, 1, 59)),
                             '2010-03-14T01:59:00-08:00')
            # 3AM PDT
            self.assertEqual(rfc3339(datetime.datetime(2010, 3, 14, 3, 0)),
                             '2010-03-14T03:00:00-07:00')
Test Daylight saving change
dataset/ETHPy150Open eugenkiss/Simblin/simblin/lib/rfc3339.py/LocalTimeTestCase.testPDTChange