CVS: 'python/dist/src/Lib/test test_strftime.py'
Guido van Rossum
Fri, 7 Mar 1997 12:30:05 -0800
Update of /projects/cvsroot/python/dist/src/Lib/test
In directory monty:/usr/people/guido/python/src/Lib/test
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.)
--Guido van Rossum (home page: http://www.python.org/~guido/)