def test_normalizes_date_timezones(self): date = datetime(2015, 8, 21, tzinfo=tz.tzlocal()) normalized = normalize_date(date) self.assertEqual(tz.tzutc(), normalized.tzinfo)
def test_normalizes_date_timezones(self): date = datetime(2015, 8, 21, tzinfo=tz.tzlocal()) normalized = normalize_date(date) self.assertEqual(tz.tzutc(), normalized.tzinfo)