summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]