[Python-checkins] r47020 - python/trunk/Lib/ctypes/test/test_loading.py
thomas.heller
python-checkins at python.org
Mon Jun 19 09:07:49 CEST 2006
Author: thomas.heller
Date: Mon Jun 19 09:07:49 2006
New Revision: 47020
Modified:
python/trunk/Lib/ctypes/test/test_loading.py
Log:
Try to repair the failing test on the OpenBSD buildbot. Trial and error...
Modified: python/trunk/Lib/ctypes/test/test_loading.py
==============================================================================
--- python/trunk/Lib/ctypes/test/test_loading.py (original)
+++ python/trunk/Lib/ctypes/test/test_loading.py Mon Jun 19 09:07:49 2006
@@ -16,7 +16,7 @@
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]
More information about the Python-checkins
mailing list