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 xtreak
Recipients doodspav, p-ganssle, xtreak
Date 2020-07-24.14:38:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595601518.08.0.673348557651.issue41371@roundup.psfhosted.org>
In-reply-to
Content
I got this error as well. Since lzma is needed to decode the test data the ImportError can be captured to skip the test in setUpModule [0] like other test module setup with similar approach for required cases. I am adding easy tag. Feel free to retriage this if the test data need to be encoded in a different format for the test to support platforms that don't have lzma.

try:
   import lzma
except ImportError:
   raise unittest.skipTest("lzma is needed")


[0] https://github.com/python/cpython/blob/0dd98c2d00a75efbec19c2ed942923981bc06683/Lib/test/test_zoneinfo/test_zoneinfo.py#L43
History
Date User Action Args
2020-07-24 14:38:38xtreaksetrecipients: + xtreak, p-ganssle, doodspav
2020-07-24 14:38:38xtreaksetmessageid: <1595601518.08.0.673348557651.issue41371@roundup.psfhosted.org>
2020-07-24 14:38:38xtreaklinkissue41371 messages
2020-07-24 14:38:37xtreakcreate