Lines Matching refs:minute
200 b = td(0, 60) # One minute
615 self.assertEqual(fromord.minute, 0)
1199 self.assertEqual(dt.minute, 0)
1211 self.assertEqual(dt.minute, 59)
1227 dt.hour, dt.minute, dt.second,
1521 self.assertEqual(expected.tm_min, got.minute)
1604 t.hour, t.minute, t.second,
1613 self.assertEqual(tt.tm_min, t.minute)
1663 ("minute", 6),
1737 self.assertEqual(t.minute, 0)
1746 self.assertEqual(t.minute, 59)
1761 t2 = self.theclass(t.hour, t.minute, t.second,
1984 ("minute", 6),
1997 self.assertRaises(ValueError, base.replace, minute=-1)
2156 if t.minute < 10:
2158 return timedelta(minutes=t.minute)
2164 d0 = base.replace(minute=3)
2165 d1 = base.replace(minute=9)
2166 d2 = base.replace(minute=11)
2170 expected = cmp(x.minute, y.minute)
2178 d0 = base.replace(minute=3, tzinfo=OperandDependentOffset())
2179 d1 = base.replace(minute=9, tzinfo=OperandDependentOffset())
2180 d2 = base.replace(minute=11, tzinfo=OperandDependentOffset())
2203 self.assertEqual(t.minute, 0)
2357 ("minute", 6),
2382 self.assertRaises(ValueError, base.replace, minute=-1)
2454 self.assertEqual(dt.minute, 5)
2482 # Change t1 not to subtract a minute, and t1 should be larger.
2837 # That goes back 1 minute less than a full day.
2849 # That goes forward 1 minute less than a full day.
2893 ("minute", 6),
2957 if t.minute < 10:
2959 return timedelta(minutes=t.minute)
2965 d0 = base.replace(minute=3)
2966 d1 = base.replace(minute=9)
2967 d2 = base.replace(minute=11)
2971 expected = timedelta(minutes=x.minute - y.minute)
2977 d0 = base.replace(minute=3, tzinfo=OperandDependentOffset())
2978 d1 = base.replace(minute=9, tzinfo=OperandDependentOffset())
2979 d2 = base.replace(minute=11, tzinfo=OperandDependentOffset())
3280 for minute in 0, 30, 59:
3281 expected = expectedbase.replace(minute=minute)
3282 asutc = asutcbase.replace(minute=minute)