From: Thomas Heller Date: Mon, 19 Jun 2006 07:07:49 +0000 (+0000) Subject: Try to repair the failing test on the OpenBSD buildbot. Trial and error... X-Git-Tag: v2.5b1~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b465702e625b3bce8de7c356fe2ff6cb47d165c;p=thirdparty%2FPython%2Fcpython.git Try to repair the failing test on the OpenBSD buildbot. Trial and error... --- diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py index 45585ae54a59..4841034a8470 100644 --- a/Lib/ctypes/test/test_loading.py +++ b/Lib/ctypes/test/test_loading.py @@ -16,7 +16,7 @@ elif sys.platform == "cygwin": else: for line in os.popen("ldd %s" % sys.executable): if "libc.so" in line: - if sys.platform == "openbsd3": + if sys.platform.startswith("openbsd3"): libc_name = line.split()[4] else: libc_name = line.split()[2]