Home
last modified time | relevance | path

Searched refs:semtype (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dlock_tests.py428 self.assertRaises(ValueError, self.semtype, value = -1)
429 self.assertRaises(ValueError, self.semtype, value = -sys.maxint)
432 sem = self.semtype(1)
435 sem = self.semtype(2)
442 sem = self.semtype()
447 sem = self.semtype(7)
482 sem = self.semtype(2)
490 sem = self.semtype(4)
504 sem = self.semtype()
517 sem = self.semtype(2)
[all …]
Dtest_threading.py886 semtype = staticmethod(threading.Semaphore) variable in SemaphoreTests
889 semtype = staticmethod(threading.BoundedSemaphore) variable in BoundedSemaphoreTests
/external/python/cpython3/Lib/test/
Dlock_tests.py591 self.assertRaises(ValueError, self.semtype, value = -1)
592 self.assertRaises(ValueError, self.semtype, value = -sys.maxsize)
595 sem = self.semtype(1)
598 sem = self.semtype(2)
605 sem = self.semtype()
610 sem = self.semtype(7)
645 sem = self.semtype(2)
653 sem = self.semtype(4)
666 sem = self.semtype(2)
680 sem = self.semtype()
[all …]
Dtest_threading.py1115 semtype = staticmethod(threading.Semaphore) variable in SemaphoreTests
1118 semtype = staticmethod(threading.BoundedSemaphore) variable in BoundedSemaphoreTests