• Guido van Rossum's avatar
    Much more rigorous testing -- we now try many times, varying in time · e69be3eb
    Guido van Rossum yazdı
    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.)
    e69be3eb
test_strftime.py 3.79 KB