Home | History | Annotate | Download | only in test

Lines Matching refs:MAXYEAR

13 from datetime import MINYEAR, MAXYEAR
38 self.assertEqual(datetime.MAXYEAR, 9999)
621 for year in xrange(MINYEAR, MAXYEAR+1, 7):
675 self.theclass(MAXYEAR, 1, 1) # no exception
677 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
1301 dt1 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999998)
1321 self.theclass(MAXYEAR, 1, 1) # no exception
1323 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
2466 t2 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2552 t = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2661 max = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2848 huge = cls(MAXYEAR, 12, 31, 23, 59, 37, 999999, tzinfo=UOFS(-1439))
2851 self.assertEqual(t.tm_year, MAXYEAR+1)