Searched refs:semtype (Results 1 – 4 of 4) sorted by relevance
428 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 …]
886 semtype = staticmethod(threading.Semaphore) variable in SemaphoreTests889 semtype = staticmethod(threading.BoundedSemaphore) variable in BoundedSemaphoreTests
591 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 …]
1115 semtype = staticmethod(threading.Semaphore) variable in SemaphoreTests1118 semtype = staticmethod(threading.BoundedSemaphore) variable in BoundedSemaphoreTests