]> granicus.if.org Git - python/commit
Much more rigorous testing -- we now try many times, varying in time
authorGuido van Rossum <guido@python.org>
Fri, 7 Mar 1997 20:30:03 +0000 (20:30 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Mar 1997 20:30:03 +0000 (20:30 +0000)
commite69be3eb93f5fdb6d65b34bde5b4ac871002cf30
tree014c474694c951f7e3375b94e57b2c4aa82d8215
parentb51eaa183e048a928fb363bac4404e6acf0e3bad
Much more rigorous testing -- we now try many times, varying in time
of day, day of week, and season.

Fix the weekday predictions -- these seemed to be all bogus.  The new
predictions seem to correspond with strftime() on Solaris and IRIX, so
I believe they are correct.

Get rid of the test for non-standard format %C returning "the same as
date(1)".  This is hard to do reliably without opening a pipe to date,
and moreover, on IRIX 6.2, %C yields the Century.  So we use that
instead.  (We don't complain about this in non-verbose mode anyway.)
Lib/test/test_strftime.py