summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-06-19 07:07:49 (GMT)
committerThomas Heller <theller@ctypes.org>2006-06-19 07:07:49 (GMT)
commit0b465702e625b3bce8de7c356fe2ff6cb47d165c (patch)
tree527f1c1eaca6b87fddecafd842af05c8ef42a68a
parenta56b91552a7533d45eb8868f40d46e0d6af1e1d1 (diff)
downloadcpython-0b465702e625b3bce8de7c356fe2ff6cb47d165c.zip
cpython-0b465702e625b3bce8de7c356fe2ff6cb47d165c.tar.gz
cpython-0b465702e625b3bce8de7c356fe2ff6cb47d165c.tar.bz2
Try to repair the failing test on the OpenBSD buildbot. Trial and error...
-rw-r--r--Lib/ctypes/test/test_loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py
index 45585ae..4841034 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]