Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch by Marc-Andre Lemburg: use re module to compare test results. | Guido van Rossum | 1998-09-14 | 1 | -5/+5 |
| | | | | | This makes it possible to accept that on Linux %w returns "01" instead of "1", for example. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -85/+85 |
| | |||||
* | Move %x test to nonstandard section because it appears to be locale specific. | Guido van Rossum | 1997-12-15 | 1 | -2/+3 |
| | |||||
* | Tweaks to cope with strftime returning 0 without error for %Z | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| | |||||
* | Moved some non-standard format characters out of the standard list. | Guido van Rossum | 1997-08-14 | 1 | -20/+22 |
| | | | | | | | Also moved %c and %Z out of there, even though they are standard, because these are locale dependent (and e.g. on Windows and Mac they return different strings). Finally, sorted the tables slightly different, to match my standard docs better (%a before %A). | ||||
* | Fixes for the Mac. (Jack) | Guido van Rossum | 1997-08-12 | 1 | -3/+6 |
| | |||||
* | Changes to make these tests work on the Mac. | Guido van Rossum | 1997-05-16 | 1 | -2/+2 |
| | |||||
* | Fix typo in error reporting. | Guido van Rossum | 1997-05-14 | 1 | -1/+1 |
| | |||||
* | Catch and report ValueError raised by strftime. | Guido van Rossum | 1997-04-11 | 1 | -4/+16 |
| | |||||
* | Much more rigorous testing -- we now try many times, varying in time | Guido van Rossum | 1997-03-07 | 1 | -86/+97 |
| | | | | | | | | | | | | | 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.) | ||||
* | Remove %n and %t from the list of standard expectations. | Guido van Rossum | 1997-02-19 | 1 | -2/+0 |
| | |||||
* | Import verbose flag from test_support instead of testing __name__. | Guido van Rossum | 1996-12-20 | 1 | -5/+1 |
| | |||||
* | Different operation in verbose mode: show the supported nonstandard | Guido van Rossum | 1996-12-18 | 1 | -2/+16 |
| | | | | options. Also added two: %n and %t (newline and tab character). | ||||
* | nonstandard_expectations is only added when in verbose mode, so we | Barry Warsaw | 1996-12-13 | 1 | -2/+1 |
| | | | | | don't need the if test for verbosity when checking for results of an unsupported option. | ||||
* | Hmm, now that I think about it, we *can* use time.time() and 'date' if | Barry Warsaw | 1996-12-13 | 1 | -6/+8 |
| | | | | running verbose. | ||||
* | More or less portabilized. | Barry Warsaw | 1996-12-13 | 1 | -7/+11 |
| | | | | | | | | 1. If a conversion isn't supported on the current platform, just ignore it, unless running as a script (i.e. verbose) 2. Don't use time.time() and os.popen('date') to get the raw values. These will always be different! | ||||
* | Fixed test_strftime to be silent when called from autotest. | Guido van Rossum | 1996-12-12 | 1 | -5/+15 |
| | |||||
* | Added test_strftime (Skip Montanaro). | Guido van Rossum | 1996-12-12 | 1 | -0/+82 |