[pypy-commit] pypy default: Document an error that we might get on some Linux systems.

arigo noreply at buildbot.pypy.org
Tue Aug 28 15:02:19 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r56903:09e1146cf5c6
Date: 2012-08-28 15:01 +0200
http://bitbucket.org/pypy/pypy/changeset/09e1146cf5c6/

Log:	Document an error that we might get on some Linux systems.

diff --git a/pypy/module/_multiprocessing/test/test_semaphore.py b/pypy/module/_multiprocessing/test/test_semaphore.py
--- a/pypy/module/_multiprocessing/test/test_semaphore.py
+++ b/pypy/module/_multiprocessing/test/test_semaphore.py
@@ -18,6 +18,8 @@
         kind = self.SEMAPHORE
         value = 1
         maxvalue = 1
+        # the following line gets OSError: [Errno 38] Function not implemented
+        # if /dev/shm is not mounted on Linux
         sem = SemLock(kind, value, maxvalue)
         assert sem.kind == kind
         assert sem.maxvalue == maxvalue
@@ -49,6 +51,8 @@
         kind = self.RECURSIVE
         value = 1
         maxvalue = 1
+        # the following line gets OSError: [Errno 38] Function not implemented
+        # if /dev/shm is not mounted on Linux
         sem = SemLock(kind, value, maxvalue)
 
         sem.acquire()


More information about the pypy-commit mailing list