We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954048f commit 52144aeCopy full SHA for 52144ae
Lib/test/_test_multiprocessing.py
@@ -1591,10 +1591,8 @@ def test_semaphore(self):
1591
def test_bounded_semaphore(self):
1592
sem = self.BoundedSemaphore(2)
1593
self._test_semaphore(sem)
1594
- # Currently fails on OS/X
1595
- #if HAVE_GETVALUE:
1596
- # self.assertRaises(ValueError, sem.release)
1597
- # self.assertReturnsIfImplemented(2, get_value, sem)
+ self.assertRaises(ValueError, sem.release)
+ self.assertReturnsIfImplemented(2, get_value, sem)
1598
1599
def test_timeout(self):
1600
if self.TYPE != 'processes':
0 commit comments