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
Date 2016-09-26.12:45:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474893914.19.0.794074711951.issue28276@psf.upfronthosting.co.za>
In-reply-to
Content
The assert to be added is much more simple:

i.e., self.assertTrue(lib)

And then you get something like:

root@x064:[/data/prj/python/python-3.6.0.177/Lib/ctypes/test]../../../python -m unittest test_loading.py
libc_name is libc.a(shr.o)
sslib is None
F.sss
======================================================================
FAIL: test_find (test_loading.LoaderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/prj/python/python-3.6.0.177/Lib/ctypes/test/test_loading.py", line 55, in test_find
    self.assertTrue(lib)
AssertionError: None is not true

----------------------------------------------------------------------
Ran 7 tests in 0.126s

FAILED (failures=1, skipped=5)
History
Date User Action Args
2016-09-26 12:45:14Michael.Feltsetrecipients: + Michael.Felt
2016-09-26 12:45:14Michael.Feltsetmessageid: <1474893914.19.0.794074711951.issue28276@psf.upfronthosting.co.za>
2016-09-26 12:45:14Michael.Feltlinkissue28276 messages
2016-09-26 12:45:14Michael.Feltcreate