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 steve.dower
Recipients jafo, paul.moore, shireenrao, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2019-08-08.21:16:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565298968.73.0.354930232573.issue25172@roundup.psfhosted.org>
In-reply-to
Content
Or better yet (since my last suggestion was bad), add a second test class to test_crypt

try:
    import crypt
    IMPORT_ERROR = None
except ImportError as ex:
    crypt = None
    IMPORT_ERROR = str(ex)

@skipIf(crypt)
class TestWhyCryptDidNotImport(TestCase):
    ...

@skipUnless(crypt)
class CryptTestCase(TestCase):
    ...
History
Date User Action Args
2019-08-08 21:16:08steve.dowersetrecipients: + steve.dower, terry.reedy, paul.moore, jafo, tim.golden, zach.ware, shireenrao
2019-08-08 21:16:08steve.dowersetmessageid: <1565298968.73.0.354930232573.issue25172@roundup.psfhosted.org>
2019-08-08 21:16:08steve.dowerlinkissue25172 messages
2019-08-08 21:16:08steve.dowercreate