This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients belopolsky, ezio.melotti, r.david.murray
Date 2013-04-30.09:07:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367312853.26.0.203809750785.issue17877@psf.upfronthosting.co.za>
In-reply-to
Content
If the Olson/zoneinfo/tz database is missing, test_variable_tzname fails:

[1/1] test_email
Warning -- sys.path was modified by test_email
test test_email failed -- Traceback (most recent call last):
  File "/usr/local/lib/python3.3/test/support.py", line 1311, in inner
    return func(*args, **kwds)
  File "/usr/local/lib/python3.3/test/test_email/test_utils.py", line 133, in test_variable_tzname
    self.assertEqual(t1.tzname(), 'MSK')
AssertionError: 'Europe' != 'MSK'
- Europe
+ MSK

The attached patch checks if /usr/share/zoneinfo or /usr/lib/zoneinfo exist, and skip the test if they don't.  This test is already skipped on Windows.
History
Date User Action Args
2013-04-30 09:07:33ezio.melottisetrecipients: + ezio.melotti, belopolsky, r.david.murray
2013-04-30 09:07:33ezio.melottisetmessageid: <1367312853.26.0.203809750785.issue17877@psf.upfronthosting.co.za>
2013-04-30 09:07:33ezio.melottilinkissue17877 messages
2013-04-30 09:07:33ezio.melotticreate