File: __init__.py

package info (click to toggle)
parsedatetime 2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 568 kB
  • sloc: python: 5,161; makefile: 44
file content (28 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Unit tests for parsedatetime

The tests can be run as a C{suite} by running::

    nosetests

Requires Python 3.0 or later
"""
import logging


__author__ = 'Mike Taylor (bear@code-bear.com)'
__copyright__ = 'Copyright (c) 2004 Mike Taylor'
__license__ = 'Apache v2.0'
__version__ = '1.0.0'
__contributors__ = ['Darshana Chhajed',
                    'Michael Lim (lim.ck.michael@gmail.com)',
                    'Bernd Zeimetz (bzed@debian.org)',
                    ]


log = logging.getLogger('parsedatetime')
echoHandler = logging.StreamHandler()
echoFormatter = logging.Formatter('%(levelname)-8s %(message)s')
log.addHandler(echoHandler)

# log.setLevel(logging.DEBUG)