Home | History | Annotate | Download | only in test

Lines Matching refs:strftime

37                 time.strftime(format, tt)
43 # input to [w]strftime is not kosher.
46 time.strftime('%f')
49 # Make sure that strftime() checks the bounds of the various parts
53 self.assertRaises(ValueError, time.strftime, '',
56 self.assertRaises(ValueError, time.strftime, '',
58 self.assertRaises(ValueError, time.strftime, '',
61 self.assertRaises(ValueError, time.strftime, '',
63 self.assertRaises(ValueError, time.strftime, '',
66 self.assertRaises(ValueError, time.strftime, '',
68 self.assertRaises(ValueError, time.strftime, '',
71 self.assertRaises(ValueError, time.strftime, '',
73 self.assertRaises(ValueError, time.strftime, '',
76 self.assertRaises(ValueError, time.strftime, '',
78 self.assertRaises(ValueError, time.strftime, '',
81 self.assertRaises(ValueError, time.strftime, '',
85 self.assertRaises(ValueError, time.strftime, '',
91 self.assertRaises(ValueError, time.strftime, '',
94 self.assertRaises(ValueError, time.strftime, '',
96 self.assertRaises(ValueError, time.strftime, '',
101 # No test for daylight savings since strftime() does not change output
104 result = time.strftime("%Y %m %d %H %M %S %w %j", (0,)*9)
108 # Should be able to go round-trip from strftime to strptime without
115 strf_output = time.strftime(format, tt)