From: Thomas Heller Date: Fri, 8 Dec 2006 20:44:19 +0000 (+0000) Subject: Print the results of ctypes.util.find_library("c") and X-Git-Tag: v2.5.1c1~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db386544ed7b3c941a4c163d34c95c15f38db744;p=thirdparty%2FPython%2Fcpython.git Print the results of ctypes.util.find_library("c") and ctypes.util.find_library("m") so that we can see if it works on the buildbots. --- diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py index 28c83fd4a9de..1e7870b79fd1 100644 --- a/Lib/ctypes/test/test_loading.py +++ b/Lib/ctypes/test/test_loading.py @@ -14,8 +14,9 @@ elif sys.platform == "cygwin": else: libc_name = find_library("c") -if is_resource_enabled("printing"): - print "libc_name is", libc_name +if True or is_resource_enabled("printing"): + print >> sys.stderr, "\tfind_library('c') -> ", find_library('c') + print >> sys.stderr, "\tfind_library('m') -> ", find_library('m') class LoaderTest(unittest.TestCase):