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 Michael.Felt
Recipients Michael.Felt, martin.panter
Date 2016-09-28.12:39:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475066379.6.0.0729756630026.issue28276@psf.upfronthosting.co.za>
In-reply-to
Content
Is this suitable?

    def test_find(self):
        # to track that at least one call to find_library() found something
        found = false
        for name in ("c", "m"):
            lib = find_library(name)
            if lib:
                found = true
                cdll.LoadLibrary(lib)
                CDLL(lib)
        # test is FAILED if nothing was found
        self.assertTrue(found)
History
Date User Action Args
2016-09-28 12:39:39Michael.Feltsetrecipients: + Michael.Felt, martin.panter
2016-09-28 12:39:39Michael.Feltsetmessageid: <1475066379.6.0.0729756630026.issue28276@psf.upfronthosting.co.za>
2016-09-28 12:39:39Michael.Feltlinkissue28276 messages
2016-09-28 12:39:39Michael.Feltcreate