Home | Trees | Indices | Help |
|
---|
|
Unit tests for parsedatetime
The tests can be run as a suite
by running:
python run_tests.py parsedatetime
Requires Python 3.0 or later
Version: 1.0.0
Author: Mike Taylor (bear@code-bear.com)
Copyright: Copyright (c) 2004 Mike Taylor
License: Apache v2.0
|
|||
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__contributors__ =
|
|||
log = logging.getLogger('parsedatetime')
|
|||
echoHandler = logging.StreamHandler()
|
|||
echoFormatter = logging.Formatter('%(levelname)-8s %(message)s')
|
|||
__package__ =
|
|
Fail a little less cryptically that unittest.assertTrue when comparing a result against a target value. Shows the result and the target in the failure message. |
Ignores minutes and seconds as running the test could cross a minute boundary. Technically the year, month, day, hour, minute, and second could all change if the test is run on New Year's Eve, but we won't worry about less than per-hour granularity. |
|
__contributors__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 2 12:56:11 2015 | http://epydoc.sourceforge.net |