summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_time.py
Commit message (Collapse)AuthorAgeFilesLines
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Convert time module tests to PyUnit.Fred Drake2001-05-221-37/+49
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-4/+4
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-6/+6
|
* Use long() instead of int() to compare mktime(localtime(t) with t...Guido van Rossum1997-12-081-1/+1
|
* Tweaks to cope with strftime returning 0 without error for %ZGuido van Rossum1997-08-181-2/+5
|
* Removed nonstandard strftime formats (strftime is tested moreGuido van Rossum1997-02-201-2/+2
| | | | extensively in test_strftime.py anyway).
* test of time module. not terribly fancy, but it does touch everyBarry Warsaw1996-12-061-0/+36
function and variable in the module, verifies a few return values and even tests a couple of known error conditions.