1. Armin Rigo
  2. cpython-withatomic

Commits

Thomas Heller  committed 6729c27

Try to repair the failing test on the OpenBSD buildbot. Trial and error...

  • Participants
  • Parent commits 2843bf7
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/ctypes/test/test_loading.py

View file
 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]