~ubuntu-branches/ubuntu/vivid/python-tz/vivid-proposed

« back to all changes in this revision

Viewing changes to pytz/tests/test_tzinfo.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-01-07 11:42:00 UTC
  • mfrom: (1.1.4 upstream) (3 etch)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20070107114200-1eqnc9xpeawrhzxv
* NMU.
* New upstream version, matching the version of the tzdata package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
if __name__ == '__main__':
9
9
    # Only munge path if invoked as a script. Testrunners should have setup
10
10
    # the paths already
11
 
    sys.path.insert(0, os.path.join(os.pardir, os.pardir))
 
11
    sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, os.pardir)))
12
12
 
13
13
import pytz
14
14
from pytz import reference
15
15
 
16
 
EXPECTED_VERSION='2006g'
 
16
EXPECTED_VERSION='2006p'
17
17
 
18
18
fmt = '%Y-%m-%d %H:%M:%S %Z%z'
19
19